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.001362/0.001362, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.001238/0.001238, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.389/1.389, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2036/0.2036, allocations: 43.52 MB / 314.8 MB, free: 472 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.001442/0.001442, allocations: 72.39 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1124, allocations: 57.8 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01307/0.1255, allocations: 12.65 MB / 0.5009 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00807/0.1337, allocations: 3.894 MB / 0.5047 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.1356, allocations: 67.81 kB / 0.5048 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.1387, allocations: 1.323 MB / 0.5061 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.1431, allocations: 1.778 MB / 0.5078 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1443, allocations: 435.2 kB / 0.5082 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.1493, allocations: 3.653 MB / 0.5118 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.1526, allocations: 2.044 MB / 0.5138 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.155, allocations: 1.241 MB / 0.515 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.1579, allocations: 1.771 MB / 0.5167 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008069/0.1587, allocations: 247.9 kB / 0.517 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.1606, allocations: 0.8191 MB / 0.5178 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.1622, allocations: 1.632 MB / 0.5194 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.1643, allocations: 1.933 MB / 0.5212 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.1704, allocations: 6.258 MB / 0.5274 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1704, allocations: 0 / 0.5274 GB, free: 3.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1704, allocations: 0 / 0.5274 GB, free: 3.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001456/0.1706, allocations: 0 / 0.5274 GB, free: 3.887 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.2303/0.4008, allocations: 4.145 MB / 0.5314 GB, free: 37.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4009, allocations: 13.17 kB / 0.5314 GB, free: 37.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.412, allocations: 3.074 MB / 0.5344 GB, free: 37.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.4163, allocations: 1.988 MB / 0.5364 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.4165, allocations: 193.1 kB / 0.5365 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.4175, allocations: 257.7 kB / 0.5368 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/0.4352, allocations: 10.39 MB / 0.5469 GB, free: 33.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.4353, allocations: 29.91 kB / 0.547 GB, free: 33.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005048/0.4359, allocations: 120.5 kB / 0.5471 GB, free: 33.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004484/0.4404, allocations: 2.559 MB / 0.5496 GB, free: 32.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4572, allocations: 9.457 MB / 0.5588 GB, free: 26.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04128/0.4985, allocations: 32.25 MB / 0.5903 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/0.5048, allocations: 3.366 MB / 0.5936 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.5065, allocations: 1.081 MB / 0.5946 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.5077, allocations: 1.308 MB / 0.5959 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.5078, allocations: 51.88 kB / 0.596 GB, free: 3.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 8.836e-06/0.5078, allocations: 0 / 0.596 GB, free: 3.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02257/0.5304, allocations: 9.777 MB / 0.6055 GB, free: 9.355 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.5305, allocations: 98.45 kB / 0.6056 GB, free: 9.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.5346, allocations: 2.66 MB / 0.6082 GB, free: 6.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.535, allocations: 49.69 kB / 0.6083 GB, free: 6.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.5368, allocations: 2.743 MB / 0.6109 GB, free: 3.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008697/0.5377, allocations: 0.7093 MB / 0.6116 GB, free: 3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/0.5394, allocations: 0.9806 MB / 0.6126 GB, free: 2.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.5395, allocations: 309.1 kB / 0.6129 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/0.542, allocations: 1.567 MB / 0.6144 GB, free: 132 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004541/0.5466, allocations: 4.482 MB / 0.6188 GB, free: 10.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007561/0.5542, allocations: 6.695 MB / 0.6253 GB, free: 2.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.5543, allocations: 32.69 kB / 0.6254 GB, free: 2.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.0106/0.5649, allocations: 5.956 MB / 0.6312 GB, free: 12.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5651, allocations: 48 kB / 0.6312 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.5653, allocations: 104.9 kB / 0.6313 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.5657, allocations: 181.5 kB / 0.6315 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/0.5692, allocations: 1.099 MB / 0.6326 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.5709, allocations: 1.806 MB / 0.6343 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.5739, allocations: 208 kB / 0.6345 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007121/0.5746, allocations: 300 kB / 0.6348 GB, free: 8.199 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.003598/0.5782, allocations: 2.028 MB / 0.6368 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/0.5788, allocations: 252.7 kB / 0.637 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.5831, allocations: 2.538 MB / 0.6395 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/0.5831, allocations: 20 kB / 0.6395 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.5832, allocations: 7.938 kB / 0.6395 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.5832, allocations: 7.969 kB / 0.6396 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.5975, allocations: 8.152 MB / 0.6475 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.5976, allocations: 15.83 kB / 0.6475 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.5987, allocations: 247.6 kB / 0.6478 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.5989, allocations: 56.83 kB / 0.6478 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.599, allocations: 43.98 kB / 0.6479 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.6004, allocations: 1.629 MB / 0.6495 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.6004, allocations: 16.12 kB / 0.6495 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.6059, allocations: 4.051 MB / 0.6534 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.607, allocations: 0.4978 MB / 0.6539 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/0.6075, allocations: 43.98 kB / 0.654 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.6085, allocations: 55.95 kB / 0.654 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.6087, allocations: 124.7 kB / 0.6541 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.6089, allocations: 60 kB / 0.6542 GB, free: 3.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002961/0.6118, allocations: 1.636 MB / 0.6558 GB, free: 2.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6119, allocations: 0 / 0.6558 GB, free: 2.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004507/0.6164, allocations: 0.8254 MB / 0.6566 GB, free: 1.348 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.0006654/0.6171, allocations: 177.5 kB / 0.6568 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007314/0.6244, allocations: 3.929 MB / 0.6606 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/0.6245, allocations: 4.812 kB / 0.6606 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.6265, allocations: 1.24 MB / 0.6618 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.6291, allocations: 355.3 kB / 0.6621 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.6468, allocations: 9.04 MB / 0.671 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005443/0.6523, allocations: 3.198 MB / 0.6741 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.6533, allocations: 231.4 kB / 0.6743 GB, free: 15 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.6533, allocations: 0 / 0.6743 GB, free: 15 MB / 0.5137 GB Notification: Performance of Templates: time 0.09703/0.7504, allocations: 66.73 MB / 0.7395 GB, free: 12.21 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