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.0009405/0.0009405, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.391/1.391, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3653/0.3653, allocations: 43.55 MB / 314.5 MB, free: 8.789 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.000508/0.0005081, allocations: 12 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.86 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2347/0.3595, allocations: 25.68 MB / 468.4 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.3743, allocations: 6.596 MB / 475 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005436/0.3798, allocations: 121.8 kB / 475.1 MB, free: 32.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004572/0.3844, allocations: 1.292 MB / 476.4 MB, free: 31.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.397, allocations: 3.943 MB / 480.4 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.3986, allocations: 365.1 kB / 480.7 MB, free: 30.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.4021, allocations: 1.992 MB / 482.7 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.4052, allocations: 2.268 MB / 485 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.4068, allocations: 0.8876 MB / 485.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.4084, allocations: 1.252 MB / 487.1 MB, free: 27.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.4088, allocations: 135 kB / 487.3 MB, free: 27.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4099, allocations: 0.6372 MB / 487.9 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.4109, allocations: 1.385 MB / 489.3 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005408/0.4114, allocations: 0.7607 MB / 490 MB, free: 26.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.4166, allocations: 4.735 MB / 494.8 MB, free: 25.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4166, allocations: 4 kB / 494.8 MB, free: 25.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4166, allocations: 1.156 kB / 494.8 MB, free: 25.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001784/0.4168, allocations: 3.938 kB / 494.8 MB, free: 25.52 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.006946/0.4237, allocations: 3.463 MB / 498.3 MB, free: 23.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4238, allocations: 9.438 kB / 498.3 MB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.4374, allocations: 3.723 MB / 0.4902 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007048/0.4445, allocations: 2.143 MB / 0.4923 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.4447, allocations: 194.2 kB / 0.4925 GB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/0.446, allocations: 257.3 kB / 0.4927 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.4655, allocations: 10.43 MB / 0.5029 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.4656, allocations: 22.84 kB / 0.503 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/0.466, allocations: 119.9 kB / 0.5031 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004816/0.4708, allocations: 2.559 MB / 0.5056 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.4887, allocations: 9.487 MB / 0.5148 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05485/0.5436, allocations: 32.57 MB / 0.5466 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.5497, allocations: 3.377 MB / 0.5499 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.5509, allocations: 1.317 MB / 0.5512 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.551, allocations: 43.88 kB / 0.5513 GB, free: 15.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.899e-06/0.551, allocations: 0 / 0.5513 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02339/0.5744, allocations: 10.33 MB / 0.5614 GB, free: 4.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.5745, allocations: 94.42 kB / 0.5614 GB, free: 4.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/0.58, allocations: 2.763 MB / 0.5641 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.5802, allocations: 49.7 kB / 0.5642 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.5824, allocations: 2.739 MB / 0.5669 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/0.5832, allocations: 0.7132 MB / 0.5676 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.5836, allocations: 96 kB / 0.5677 GB, free: 13.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004425/0.5841, allocations: 0.5169 MB / 0.5682 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.5868, allocations: 1.548 MB / 0.5697 GB, free: 11.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/0.5922, allocations: 4.43 MB / 0.574 GB, free: 6.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/0.5964, allocations: 2.624 MB / 0.5766 GB, free: 3.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.5965, allocations: 32 kB / 0.5766 GB, free: 3.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01037/0.6069, allocations: 5.893 MB / 0.5823 GB, free: 13.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.607, allocations: 55.94 kB / 0.5824 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.6072, allocations: 100 kB / 0.5825 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.6076, allocations: 196.8 kB / 0.5827 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/0.6112, allocations: 1.084 MB / 0.5837 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.6131, allocations: 1.71 MB / 0.5854 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/0.6165, allocations: 216 kB / 0.5856 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006266/0.6171, allocations: 300 kB / 0.5859 GB, free: 9.668 MB / 462.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 (605): * Single equations (assignments): 598 * 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.004563/0.6217, allocations: 2.028 MB / 0.5879 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006317/0.6223, allocations: 252.6 kB / 0.5881 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.6269, allocations: 2.53 MB / 0.5906 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/0.6269, allocations: 23.98 kB / 0.5906 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.627, allocations: 0 / 0.5906 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.627, allocations: 11.97 kB / 0.5906 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.6439, allocations: 8.156 MB / 0.5986 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.644, allocations: 9 kB / 0.5986 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.645, allocations: 255.5 kB / 0.5988 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.6451, allocations: 60.83 kB / 0.5989 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/0.6453, allocations: 43.98 kB / 0.5989 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.6467, allocations: 1.53 MB / 0.6004 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.6467, allocations: 15.94 kB / 0.6005 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005841/0.6526, allocations: 4.868 MB / 0.6052 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.6541, allocations: 0.5056 MB / 0.6057 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006903/0.6548, allocations: 39.97 kB / 0.6057 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.656, allocations: 59.95 kB / 0.6058 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.6563, allocations: 116.7 kB / 0.6059 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.6564, allocations: 71.98 kB / 0.606 GB, free: 4.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002951/0.6594, allocations: 1.698 MB / 0.6076 GB, free: 2.586 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6594, allocations: 0 / 0.6076 GB, free: 2.586 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004556/0.6639, allocations: 0.8398 MB / 0.6085 GB, free: 1.746 MB / 478.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 (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.0005174/0.6645, allocations: 198.7 kB / 0.6086 GB, free: 1.543 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006545/0.671, allocations: 3.858 MB / 0.6124 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.6711, allocations: 0 / 0.6124 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.6728, allocations: 1.237 MB / 0.6136 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6748, allocations: 317.9 kB / 0.6139 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.6946, allocations: 10.41 MB / 0.6241 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005608/0.7002, allocations: 3.286 MB / 0.6273 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004511/0.7048, allocations: 1.73 MB / 0.629 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/0.7054, allocations: 187.4 kB / 0.6292 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.7055, allocations: 7.938 kB / 0.6292 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.2669/0.9724, allocations: 22.46 MB / 0.6511 GB, free: 152 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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