Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 102.8 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 190.6 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3464/0.3464, allocations: 43.49 MB / 313.6 MB, free: 8.559 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001618, allocations: 63.91 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1163, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2278/0.3441, allocations: 30.06 MB / 470.1 MB, free: 33.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.3573, allocations: 6.688 MB / 476.8 MB, free: 29.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005348/0.3626, allocations: 123.3 kB / 476.9 MB, free: 29.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.3656, allocations: 1.238 MB / 478.1 MB, free: 29.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.3703, allocations: 1.673 MB / 479.8 MB, free: 28.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3713, allocations: 403.6 kB / 480.2 MB, free: 28.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00409/0.3754, allocations: 3.666 MB / 483.8 MB, free: 27.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.3784, allocations: 2.133 MB / 486 MB, free: 26.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.3811, allocations: 1.241 MB / 487.2 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.3836, allocations: 1.949 MB / 489.2 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007863/0.3844, allocations: 246 kB / 489.4 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.3868, allocations: 0.8336 MB / 490.2 MB, free: 24.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.3891, allocations: 1.646 MB / 491.9 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003831/0.3929, allocations: 1.953 MB / 493.8 MB, free: 22.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.4051, allocations: 5.992 MB / 499.8 MB, free: 20.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4052, allocations: 1.25 kB / 499.8 MB, free: 20.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4052, allocations: 0 / 499.8 MB, free: 20.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003619/0.4055, allocations: 3.938 kB / 499.8 MB, free: 20.69 MB / 382.1 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.01319/0.4187, allocations: 4.157 MB / 0.4922 GB, free: 18.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4188, allocations: 13.33 kB / 0.4922 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4301, allocations: 3.075 MB / 0.4952 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/0.4353, allocations: 1.976 MB / 0.4971 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.4356, allocations: 201 kB / 0.4973 GB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/0.4372, allocations: 257 kB / 0.4976 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.4583, allocations: 10.39 MB / 0.5077 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.4585, allocations: 21.44 kB / 0.5077 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.46, allocations: 124.2 kB / 0.5078 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004279/0.4643, allocations: 2.553 MB / 0.5103 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.4836, allocations: 9.459 MB / 0.5196 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0516/0.5352, allocations: 32.47 MB / 0.5513 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.5417, allocations: 3.375 MB / 0.5546 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.5435, allocations: 1.086 MB / 0.5556 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.545, allocations: 1.305 MB / 0.5569 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.545, allocations: 47.88 kB / 0.557 GB, free: 7.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.799e-06/0.545, allocations: 0 / 0.557 GB, free: 7.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02253/0.5676, allocations: 9.776 MB / 0.5665 GB, free: 13.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.5677, allocations: 90.42 kB / 0.5666 GB, free: 13.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.5719, allocations: 2.656 MB / 0.5692 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.5721, allocations: 49.69 kB / 0.5692 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.5739, allocations: 2.751 MB / 0.5719 GB, free: 8.203 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007222/0.5746, allocations: 0.7093 MB / 0.5726 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.576, allocations: 0.9844 MB / 0.5736 GB, free: 6.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.5761, allocations: 313.1 kB / 0.5739 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.5785, allocations: 1.567 MB / 0.5754 GB, free: 4.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/0.5827, allocations: 4.481 MB / 0.5798 GB, free: 14.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/0.5902, allocations: 6.687 MB / 0.5863 GB, free: 6.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.911e-05/0.5903, allocations: 28 kB / 0.5863 GB, free: 6.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01125/0.6016, allocations: 5.949 MB / 0.5921 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.6017, allocations: 52.12 kB / 0.5922 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/0.6019, allocations: 108.1 kB / 0.5923 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.6024, allocations: 184.8 kB / 0.5925 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.6059, allocations: 1.092 MB / 0.5935 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.6076, allocations: 1.8 MB / 0.5953 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/0.6106, allocations: 215.8 kB / 0.5955 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007241/0.6114, allocations: 308 kB / 0.5958 GB, free: 12.68 MB / 478.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004903/0.6163, allocations: 2.032 MB / 0.5978 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007007/0.617, allocations: 248.7 kB / 0.598 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.6217, allocations: 2.542 MB / 0.6005 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/0.6218, allocations: 20 kB / 0.6005 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6218, allocations: 0 / 0.6005 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.6218, allocations: 7.969 kB / 0.6005 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.6362, allocations: 8.171 MB / 0.6085 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.6363, allocations: 11.94 kB / 0.6085 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6373, allocations: 255.5 kB / 0.6088 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.6375, allocations: 61.64 kB / 0.6088 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6376, allocations: 39.98 kB / 0.6089 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.6389, allocations: 1.637 MB / 0.6105 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.639, allocations: 15.94 kB / 0.6105 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.6442, allocations: 4.05 MB / 0.6144 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.6454, allocations: 0.4978 MB / 0.6149 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005879/0.646, allocations: 36 kB / 0.615 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6472, allocations: 64 kB / 0.615 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.6474, allocations: 124.6 kB / 0.6151 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.6475, allocations: 67.98 kB / 0.6152 GB, free: 8.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002923/0.6505, allocations: 1.632 MB / 0.6168 GB, free: 6.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6505, allocations: 0 / 0.6168 GB, free: 6.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004233/0.6547, allocations: 0.8163 MB / 0.6176 GB, free: 5.797 MB / 494.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005058/0.6552, allocations: 186.8 kB / 0.6178 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008964/0.6642, allocations: 5.548 MB / 0.6232 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.6642, allocations: 0 / 0.6232 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.666, allocations: 1.245 MB / 0.6244 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.6683, allocations: 344.8 kB / 0.6247 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/0.6878, allocations: 10.79 MB / 0.6353 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004747/0.6927, allocations: 3.206 MB / 0.6384 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.1879/0.8805, allocations: 1.728 MB / 0.6401 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.8817, allocations: 188.7 kB / 0.6403 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/0.8817, allocations: 0 / 0.6403 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.05178/0.9335, allocations: 23.27 MB / 0.663 GB, free: 155.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches