Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009244/0.0009245, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007715/0.0007712, allocations: 99.48 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1741/0.1741, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.829e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.5194, allocations: 106.4 MB / 0.6056 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.5197, allocations: 79.3 kB / 0.6057 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0907/0.6104, allocations: 34.97 MB / 0.6398 GB, free: 11.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6104, allocations: 0 / 0.6398 GB, free: 11.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.65e-05/0.6105, allocations: 36 kB / 0.6398 GB, free: 11.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002855/0.6134, allocations: 1.682 MB / 0.6415 GB, free: 9.961 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6134, allocations: 8.031 kB / 0.6415 GB, free: 9.953 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.6151, allocations: 409.4 kB / 0.6419 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007008/0.6222, allocations: 2.795 MB / 0.6446 GB, free: 6.711 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/0.6223, allocations: 110.9 kB / 0.6447 GB, free: 6.602 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.6225, allocations: 144 kB / 0.6449 GB, free: 6.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.6282, allocations: 3.02 MB / 0.6478 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.6282, allocations: 15.84 kB / 0.6478 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.6284, allocations: 63.98 kB / 0.6479 GB, free: 3.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.6288, allocations: 286.1 kB / 0.6482 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.6332, allocations: 2.179 MB / 0.6503 GB, free: 0.668 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.6465, allocations: 11.57 MB / 0.6616 GB, free: 4.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.6502, allocations: 1.2 MB / 0.6628 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.6508, allocations: 383.3 kB / 0.6631 GB, free: 3.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004663/0.6555, allocations: 3.028 MB / 0.6661 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.6555, allocations: 42.98 kB / 0.6661 GB, free: 15.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.126e-06/0.6556, allocations: 4 kB / 0.6661 GB, free: 15.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.0103/0.6659, allocations: 3.342 MB / 0.6694 GB, free: 12.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.666, allocations: 85.67 kB / 0.6695 GB, free: 12.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.6675, allocations: 1.049 MB / 0.6705 GB, free: 11.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.6676, allocations: 37.7 kB / 0.6705 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006651/0.6683, allocations: 0.9433 MB / 0.6714 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.6684, allocations: 209.2 kB / 0.6716 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.6685, allocations: 32 kB / 0.6717 GB, free: 10 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.6687, allocations: 373.9 kB / 0.672 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.6692, allocations: 395.8 kB / 0.6724 GB, free: 9.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.6704, allocations: 1.236 MB / 0.6736 GB, free: 7.586 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009023/0.6713, allocations: 0.6689 MB / 0.6743 GB, free: 6.918 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.6713, allocations: 8 kB / 0.6743 GB, free: 6.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002445/0.6738, allocations: 1.679 MB / 0.6759 GB, free: 5.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.6738, allocations: 25.08 kB / 0.6759 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.6739, allocations: 28 kB / 0.676 GB, free: 5.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.6741, allocations: 93.61 kB / 0.6761 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6752, allocations: 363.3 kB / 0.6764 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.6767, allocations: 1.69 MB / 0.6781 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/0.6777, allocations: 71.89 kB / 0.6781 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6778, allocations: 91.94 kB / 0.6782 GB, free: 2.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * 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.0002599/0.678, allocations: 231.4 kB / 0.6784 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.6782, allocations: 114.7 kB / 0.6785 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.6794, allocations: 0.6951 MB / 0.6792 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6795, allocations: 7.984 kB / 0.6792 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6795, allocations: 0 / 0.6792 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6795, allocations: 0 / 0.6792 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.6831, allocations: 2.258 MB / 0.6814 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.6831, allocations: 4 kB / 0.6814 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.6835, allocations: 95.89 kB / 0.6815 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.6837, allocations: 64.81 kB / 0.6816 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.6837, allocations: 16 kB / 0.6816 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.6854, allocations: 1.745 MB / 0.6833 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6854, allocations: 4 kB / 0.6833 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.6873, allocations: 1.277 MB / 0.6846 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.6878, allocations: 183.6 kB / 0.6847 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6879, allocations: 19.95 kB / 0.6848 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.6883, allocations: 28.11 kB / 0.6848 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.6884, allocations: 55.81 kB / 0.6848 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.6884, allocations: 19.95 kB / 0.6849 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001306/0.6897, allocations: 0.7495 MB / 0.6856 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6897, allocations: 0 / 0.6856 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001933/0.6917, allocations: 311.9 kB / 0.6859 GB, free: 10.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.6921, allocations: 131.1 kB / 0.686 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.694, allocations: 1.066 MB / 0.687 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.694, allocations: 8.062 kB / 0.6871 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.6946, allocations: 390.1 kB / 0.6874 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.6955, allocations: 169.6 kB / 0.6876 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/0.6995, allocations: 2.187 MB / 0.6897 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.7008, allocations: 1.482 MB / 0.6912 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001001/0.7018, allocations: 409.7 kB / 0.6916 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.7019, allocations: 83.42 kB / 0.6916 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.7019, allocations: 0 / 0.6916 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of Templates: time 0.02173/0.7237, allocations: 9.749 MB / 0.7012 GB, free: 10.7 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches