Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 174.2 kB / 16.72 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006945/0.0006944, allocations: 81.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2755/0.2755, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003394, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09116, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1744/0.2656, allocations: 27.12 MB / 0.5058 GB, free: 31.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.2769, allocations: 6.366 MB / 0.512 GB, free: 26.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.2808, allocations: 118.2 kB / 0.5121 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.2832, allocations: 1.293 MB / 0.5134 GB, free: 26.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00768/0.2909, allocations: 4.048 MB / 0.5173 GB, free: 24.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.292, allocations: 389.4 kB / 0.5177 GB, free: 24.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.2956, allocations: 4.023 MB / 0.5216 GB, free: 23.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.2979, allocations: 2.379 MB / 0.524 GB, free: 22.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.299, allocations: 1.056 MB / 0.525 GB, free: 22.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.3004, allocations: 1.73 MB / 0.5267 GB, free: 21.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.3007, allocations: 139 kB / 0.5268 GB, free: 21.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.3018, allocations: 0.7584 MB / 0.5276 GB, free: 21.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008662/0.3027, allocations: 1.492 MB / 0.529 GB, free: 20.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.3038, allocations: 1.73 MB / 0.5307 GB, free: 19.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.3081, allocations: 4.73 MB / 0.5353 GB, free: 18.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3081, allocations: 0 / 0.5353 GB, free: 18.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3081, allocations: 0 / 0.5353 GB, free: 18.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001423/0.3083, allocations: 0 / 0.5353 GB, free: 18.69 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.004516/0.3128, allocations: 3.39 MB / 0.5386 GB, free: 16.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3128, allocations: 13.03 kB / 0.5387 GB, free: 16.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009012/0.3218, allocations: 3.163 MB / 0.5417 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.3253, allocations: 1.978 MB / 0.5437 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3254, allocations: 205.9 kB / 0.5439 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005016/0.326, allocations: 256.1 kB / 0.5441 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.3386, allocations: 10.38 MB / 0.5542 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.987e-05/0.3387, allocations: 31.19 kB / 0.5543 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.3391, allocations: 119.9 kB / 0.5544 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003319/0.3424, allocations: 2.556 MB / 0.5569 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.3569, allocations: 9.416 MB / 0.5661 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.3952, allocations: 32.49 MB / 0.5978 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005145/0.4004, allocations: 3.379 MB / 0.6011 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4018, allocations: 1.073 MB / 0.6022 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.4028, allocations: 1.305 MB / 0.6034 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.4029, allocations: 55.88 kB / 0.6035 GB, free: 5.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 4.628e-06/0.4029, allocations: 0 / 0.6035 GB, free: 5.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.01926/0.4222, allocations: 9.756 MB / 0.613 GB, free: 11.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4222, allocations: 98.39 kB / 0.6131 GB, free: 11.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.4262, allocations: 2.641 MB / 0.6157 GB, free: 8.504 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.4263, allocations: 45.7 kB / 0.6157 GB, free: 8.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.4281, allocations: 2.747 MB / 0.6184 GB, free: 5.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006304/0.4287, allocations: 0.7093 MB / 0.6191 GB, free: 4.945 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.429, allocations: 99.98 kB / 0.6192 GB, free: 4.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.4293, allocations: 0.5208 MB / 0.6197 GB, free: 4.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.4318, allocations: 1.544 MB / 0.6212 GB, free: 2.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/0.4358, allocations: 4.462 MB / 0.6256 GB, free: 12.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007047/0.4429, allocations: 6.676 MB / 0.6321 GB, free: 4.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-05/0.443, allocations: 28 kB / 0.6321 GB, free: 4.723 MB / 458.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009913/0.4529, allocations: 5.909 MB / 0.6379 GB, free: 14.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.453, allocations: 51.94 kB / 0.6379 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.4531, allocations: 100 kB / 0.638 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.4535, allocations: 177.5 kB / 0.6382 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.4568, allocations: 1.099 MB / 0.6393 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.4584, allocations: 1.682 MB / 0.6409 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/0.4614, allocations: 223.9 kB / 0.6411 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000647/0.4621, allocations: 296 kB / 0.6414 GB, free: 11.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (609): * Single equations (assignments): 602 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003629/0.4657, allocations: 2.034 MB / 0.6434 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/0.4661, allocations: 248.7 kB / 0.6436 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.4702, allocations: 2.53 MB / 0.6461 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/0.4703, allocations: 24 kB / 0.6461 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.4703, allocations: 3.938 kB / 0.6461 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.4703, allocations: 3.984 kB / 0.6461 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.4836, allocations: 8.145 MB / 0.6541 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.4836, allocations: 11.98 kB / 0.6541 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/0.4846, allocations: 255.8 kB / 0.6544 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.4848, allocations: 56.83 kB / 0.6544 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.4849, allocations: 36 kB / 0.6544 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.4862, allocations: 1.515 MB / 0.6559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/0.4862, allocations: 19.88 kB / 0.6559 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.4913, allocations: 4.033 MB / 0.6599 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4923, allocations: 0.5016 MB / 0.6604 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.4927, allocations: 43.94 kB / 0.6604 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.4936, allocations: 55.95 kB / 0.6605 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.4938, allocations: 132.7 kB / 0.6606 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.4939, allocations: 60 kB / 0.6606 GB, free: 6.805 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002681/0.4966, allocations: 1.604 MB / 0.6622 GB, free: 5.191 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4966, allocations: 0 / 0.6622 GB, free: 5.191 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003378/0.5, allocations: 0.8086 MB / 0.663 GB, free: 4.383 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003526/0.5003, allocations: 190.8 kB / 0.6632 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005527/0.5059, allocations: 3.877 MB / 0.667 GB, free: 332 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.5059, allocations: 0 / 0.667 GB, free: 332 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.5074, allocations: 1.237 MB / 0.6682 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/0.5118, allocations: 336.7 kB / 0.6685 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.5279, allocations: 10.9 MB / 0.6791 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/0.5314, allocations: 3.199 MB / 0.6823 GB, free: 472 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007449/0.5322, allocations: 235.4 kB / 0.6825 GB, free: 236 kB / 0.4948 GB Notification: Performance of SimCode: time 5.72e-07/0.5322, allocations: 0 / 0.6825 GB, free: 236 kB / 0.4948 GB Notification: Performance of Templates: time 0.2367/0.7689, allocations: 65.47 MB / 0.7464 GB, free: 122.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches