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.001631/0.001631, allocations: 115.3 kB / 17.08 MB, free: 6.02 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.001862/0.001862, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.354/1.354, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2134/0.2134, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.001435/0.001435, allocations: 75.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1106, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01414/0.1247, allocations: 12.66 MB / 0.5009 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008539/0.1333, allocations: 3.883 MB / 0.5047 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.1355, allocations: 63.88 kB / 0.5048 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.1384, allocations: 1.335 MB / 0.5061 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.1429, allocations: 1.775 MB / 0.5078 GB, free: 8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.1443, allocations: 431.2 kB / 0.5082 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00515/0.1495, allocations: 3.661 MB / 0.5118 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002962/0.1525, allocations: 2.036 MB / 0.5138 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.1548, allocations: 1.241 MB / 0.515 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.1578, allocations: 1.768 MB / 0.5167 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008247/0.1586, allocations: 244 kB / 0.5169 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.1609, allocations: 0.8269 MB / 0.5178 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.1632, allocations: 1.628 MB / 0.5193 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003214/0.1664, allocations: 1.937 MB / 0.5212 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007265/0.1737, allocations: 6.258 MB / 0.5274 GB, free: 3.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1737, allocations: 0 / 0.5274 GB, free: 3.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1737, allocations: 0 / 0.5274 GB, free: 3.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001891/0.1739, allocations: 0 / 0.5274 GB, free: 3.879 MB / 414.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.2118/0.3857, allocations: 4.146 MB / 0.5314 GB, free: 38.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3858, allocations: 13.98 kB / 0.5314 GB, free: 38.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.3968, allocations: 3.07 MB / 0.5344 GB, free: 38.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.4016, allocations: 1.991 MB / 0.5364 GB, free: 37.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.4019, allocations: 194.5 kB / 0.5365 GB, free: 37.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.4031, allocations: 254.4 kB / 0.5368 GB, free: 37.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.4215, allocations: 10.39 MB / 0.5469 GB, free: 33.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.4216, allocations: 22.92 kB / 0.547 GB, free: 33.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006076/0.4222, allocations: 121.2 kB / 0.5471 GB, free: 33.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004224/0.4265, allocations: 2.56 MB / 0.5496 GB, free: 33.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.4433, allocations: 9.453 MB / 0.5588 GB, free: 27.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.4817, allocations: 32.25 MB / 0.5903 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/0.4874, allocations: 3.375 MB / 0.5936 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4889, allocations: 1.082 MB / 0.5946 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.4901, allocations: 1.306 MB / 0.5959 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.4901, allocations: 51.88 kB / 0.596 GB, free: 4.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.849e-06/0.4901, allocations: 0 / 0.596 GB, free: 4.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.01981/0.51, allocations: 9.779 MB / 0.6055 GB, free: 10.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.5101, allocations: 98.34 kB / 0.6056 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.5133, allocations: 2.664 MB / 0.6082 GB, free: 7.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.5135, allocations: 45.7 kB / 0.6083 GB, free: 7.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.5151, allocations: 2.743 MB / 0.6109 GB, free: 4.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/0.5158, allocations: 0.7172 MB / 0.6116 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5169, allocations: 0.9767 MB / 0.6126 GB, free: 2.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.517, allocations: 305.1 kB / 0.6129 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.5192, allocations: 1.563 MB / 0.6144 GB, free: 1.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/0.5232, allocations: 4.481 MB / 0.6188 GB, free: 11.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007125/0.5304, allocations: 6.691 MB / 0.6253 GB, free: 2.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-05/0.5305, allocations: 31.94 kB / 0.6254 GB, free: 2.926 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009531/0.54, allocations: 5.956 MB / 0.6312 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.5401, allocations: 48 kB / 0.6312 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.5402, allocations: 104 kB / 0.6313 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.5405, allocations: 176.8 kB / 0.6315 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.5437, allocations: 1.096 MB / 0.6326 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.5453, allocations: 1.802 MB / 0.6343 GB, free: 9.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.548, allocations: 214.4 kB / 0.6345 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005071/0.5485, allocations: 300 kB / 0.6348 GB, free: 9.086 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.002954/0.5515, allocations: 2.036 MB / 0.6368 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.5519, allocations: 252.7 kB / 0.637 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.5556, allocations: 2.539 MB / 0.6395 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.5556, allocations: 20 kB / 0.6395 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5556, allocations: 7.938 kB / 0.6395 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5557, allocations: 11.95 kB / 0.6396 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.5677, allocations: 8.13 MB / 0.6475 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.5678, allocations: 12.97 kB / 0.6475 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.5688, allocations: 259.5 kB / 0.6478 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.5689, allocations: 60.83 kB / 0.6478 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/0.569, allocations: 39.91 kB / 0.6478 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5704, allocations: 1.637 MB / 0.6494 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.5704, allocations: 15.94 kB / 0.6495 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.5753, allocations: 4.043 MB / 0.6534 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.5764, allocations: 0.5055 MB / 0.6539 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.5767, allocations: 35.98 kB / 0.6539 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.5775, allocations: 63.77 kB / 0.654 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.5777, allocations: 124.7 kB / 0.6541 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5778, allocations: 63.98 kB / 0.6542 GB, free: 4.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002215/0.5801, allocations: 1.636 MB / 0.6558 GB, free: 3.047 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5801, allocations: 0 / 0.6558 GB, free: 3.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003374/0.5835, allocations: 0.8202 MB / 0.6566 GB, free: 2.23 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.0003709/0.5838, allocations: 174.5 kB / 0.6567 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005576/0.5894, allocations: 3.937 MB / 0.6606 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.5895, allocations: 0 / 0.6606 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.5911, allocations: 1.245 MB / 0.6618 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.5929, allocations: 344 kB / 0.6621 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.6076, allocations: 9.051 MB / 0.671 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/0.6113, allocations: 3.194 MB / 0.6741 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/0.6121, allocations: 235.5 kB / 0.6743 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.6121, allocations: 3.938 kB / 0.6743 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.08849/0.7006, allocations: 67.32 MB / 0.7401 GB, free: 12.49 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches