Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009627/0.0009627, allocations: 196.7 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008046/0.0008047, allocations: 85.88 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1704/0.1704, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.823e-05, allocations: 7.984 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 63.25 MB / 0.5114 GB, free: 6.809 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5072, allocations: 107.4 MB / 0.6163 GB, free: 2.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5076, allocations: 78.7 kB / 0.6163 GB, free: 2.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.7367, allocations: 90 MB / 0.7042 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.7367, allocations: 0 / 0.7042 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001788/0.7369, allocations: 84 kB / 0.7043 GB, free: 0.6328 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.0101/0.747, allocations: 3.975 MB / 0.7082 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.7471, allocations: 11.97 kB / 0.7082 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.7581, allocations: 2.447 MB / 0.7106 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.769, allocations: 4.243 MB / 0.7147 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.7693, allocations: 332.7 kB / 0.715 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.7704, allocations: 439.8 kB / 0.7155 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.7909, allocations: 10.6 MB / 0.7258 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/0.7911, allocations: 71.33 kB / 0.7259 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000585/0.7916, allocations: 215.9 kB / 0.7261 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001419/0.7931, allocations: 1.038 MB / 0.7271 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.8087, allocations: 8.181 MB / 0.7351 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2945/1.103, allocations: 48.04 MB / 0.782 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007166/1.11, allocations: 3.202 MB / 0.7851 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.112, allocations: 1.022 MB / 0.7861 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007954/1.12, allocations: 5.973 MB / 0.792 GB, free: 93.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.12, allocations: 51.84 kB / 0.792 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 3.506e-06/1.12, allocations: 2.438 kB / 0.792 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160): time 0.01779/1.138, allocations: 8.653 MB / 0.8005 GB, free: 90.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/1.138, allocations: 196.3 kB / 0.8007 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.142, allocations: 3.552 MB / 0.8041 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/1.142, allocations: 46.77 kB / 0.8042 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.144, allocations: 3.183 MB / 0.8073 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/1.144, allocations: 0.6366 MB / 0.8079 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.144, allocations: 115.5 kB / 0.808 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002417/1.144, allocations: 0.563 MB / 0.8086 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/1.146, allocations: 1.553 MB / 0.8101 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/1.15, allocations: 5.372 MB / 0.8153 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/1.153, allocations: 2.889 MB / 0.8181 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-05/1.153, allocations: 41.56 kB / 0.8182 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.007844/1.161, allocations: 6.677 MB / 0.8247 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/1.161, allocations: 62.03 kB / 0.8248 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.161, allocations: 136 kB / 0.8249 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/1.161, allocations: 200.8 kB / 0.8251 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/1.165, allocations: 1.442 MB / 0.8265 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/1.165, allocations: 268.2 kB / 0.8267 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/1.169, allocations: 382.6 kB / 0.8271 GB, free: 81.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003676/1.169, allocations: 370.2 kB / 0.8275 GB, free: 81.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000569/1.17, allocations: 0.582 MB / 0.828 GB, free: 80.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/1.17, allocations: 346 kB / 0.8284 GB, free: 80.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/1.172, allocations: 1.308 MB / 0.8296 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.172, allocations: 20.86 kB / 0.8297 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.172, allocations: 0 / 0.8297 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.172, allocations: 10.03 kB / 0.8297 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/1.179, allocations: 5.834 MB / 0.8354 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.179, allocations: 18.69 kB / 0.8354 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008496/1.18, allocations: 289.6 kB / 0.8357 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/1.18, allocations: 29.62 kB / 0.8357 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/1.18, allocations: 45.09 kB / 0.8357 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/1.18, allocations: 37.88 kB / 0.8358 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.18, allocations: 26.53 kB / 0.8358 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/1.184, allocations: 5.291 MB / 0.841 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/1.184, allocations: 429 kB / 0.8414 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/1.185, allocations: 47.44 kB / 0.8414 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.186, allocations: 98.62 kB / 0.8415 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.186, allocations: 146.6 kB / 0.8416 GB, free: 72.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/1.186, allocations: 67.72 kB / 0.8417 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002881/1.189, allocations: 2.445 MB / 0.8441 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.189, allocations: 0 / 0.8441 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003907/1.193, allocations: 0.919 MB / 0.845 GB, free: 71.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000314/1.193, allocations: 210.8 kB / 0.8452 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004271/1.197, allocations: 3.642 MB / 0.8488 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.197, allocations: 3.969 kB / 0.8488 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006851/1.198, allocations: 0.7319 MB / 0.8495 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.2, allocations: 432.5 kB / 0.8499 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/1.21, allocations: 7.176 MB / 0.8569 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/1.212, allocations: 3.26 MB / 0.8601 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003839/1.216, allocations: 1.825 MB / 0.8619 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/1.216, allocations: 238 kB / 0.8621 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/1.216, allocations: 0 / 0.8621 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.04289/1.259, allocations: 27.14 MB / 0.8886 GB, free: 47.25 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches