Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.2 MB / 218.9 MB, free: 9.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000835/0.000835, allocations: 101 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3447/0.3447, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.44e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3527/0.4581, allocations: 104.8 MB / 0.5751 GB, free: 1.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.4583, allocations: 75.83 kB / 0.5752 GB, free: 1.086 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2142/0.6726, allocations: 86.76 MB / 0.6599 GB, free: 3.086 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6726, allocations: 4.188 kB / 0.6599 GB, free: 3.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001776/0.6728, allocations: 91.92 kB / 0.66 GB, free: 2.992 MB / 474.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.01013/0.6829, allocations: 3.975 MB / 0.6639 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.683, allocations: 8.031 kB / 0.6639 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.6943, allocations: 2.451 MB / 0.6663 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01264/0.707, allocations: 5.168 MB / 0.6713 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.7073, allocations: 332.7 kB / 0.6716 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.7093, allocations: 437.2 kB / 0.6721 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/0.7297, allocations: 10.6 MB / 0.6824 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.7299, allocations: 67.33 kB / 0.6825 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000735/0.7306, allocations: 219.8 kB / 0.6827 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.7322, allocations: 1.038 MB / 0.6837 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0157/0.7479, allocations: 8.181 MB / 0.6917 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3288/1.077, allocations: 48.08 MB / 0.7386 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006701/1.084, allocations: 3.197 MB / 0.7418 GB, free: 65.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/1.085, allocations: 1.026 MB / 0.7428 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007845/1.093, allocations: 5.992 MB / 0.7486 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.093, allocations: 50.84 kB / 0.7487 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 5.34e-06/1.093, allocations: 3.094 kB / 0.7487 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.01923/1.112, allocations: 8.756 MB / 0.7572 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.112, allocations: 201.8 kB / 0.7574 GB, free: 59.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004567/1.117, allocations: 3.574 MB / 0.7609 GB, free: 58.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/1.117, allocations: 50.89 kB / 0.761 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.118, allocations: 3.184 MB / 0.7641 GB, free: 57.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/1.119, allocations: 0.6342 MB / 0.7647 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.119, allocations: 120.8 kB / 0.7648 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002456/1.12, allocations: 0.5586 MB / 0.7653 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/1.122, allocations: 1.554 MB / 0.7669 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003361/1.125, allocations: 5.368 MB / 0.7721 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/1.129, allocations: 2.899 MB / 0.7749 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.492e-05/1.129, allocations: 39.69 kB / 0.775 GB, free: 50.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01089/1.14, allocations: 6.672 MB / 0.7815 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.14, allocations: 66.42 kB / 0.7816 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.14, allocations: 136.2 kB / 0.7817 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/1.14, allocations: 200.2 kB / 0.7819 GB, free: 48.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/1.145, allocations: 1.444 MB / 0.7833 GB, free: 48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001444/1.145, allocations: 267.2 kB / 0.7835 GB, free: 47.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/1.149, allocations: 388.8 kB / 0.7839 GB, free: 47.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006773/1.15, allocations: 371.1 kB / 0.7843 GB, free: 47.77 MB / 0.4948 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.0006462/1.151, allocations: 0.573 MB / 0.7848 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/1.151, allocations: 346.5 kB / 0.7852 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/1.153, allocations: 1.321 MB / 0.7864 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.468e-05/1.153, allocations: 21.66 kB / 0.7865 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.153, allocations: 5.75 kB / 0.7865 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.153, allocations: 3.797 kB / 0.7865 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00914/1.162, allocations: 5.846 MB / 0.7922 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.34e-05/1.162, allocations: 16.19 kB / 0.7922 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.163, allocations: 288.3 kB / 0.7925 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.587e-05/1.163, allocations: 25.06 kB / 0.7925 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.81e-05/1.163, allocations: 55.75 kB / 0.7925 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-05/1.163, allocations: 37.08 kB / 0.7926 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/1.163, allocations: 29.06 kB / 0.7926 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/1.167, allocations: 5.286 MB / 0.7978 GB, free: 39.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.168, allocations: 0.5363 MB / 0.7983 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/1.169, allocations: 47.47 kB / 0.7983 GB, free: 38.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.17, allocations: 97.48 kB / 0.7984 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.17, allocations: 149.4 kB / 0.7986 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.314e-05/1.171, allocations: 68.88 kB / 0.7986 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003714/1.174, allocations: 2.464 MB / 0.8011 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.174, allocations: 0 / 0.8011 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005759/1.18, allocations: 0.9249 MB / 0.802 GB, free: 37.84 MB / 0.4948 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.0005024/1.181, allocations: 202.3 kB / 0.8021 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005466/1.186, allocations: 3.644 MB / 0.8057 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/1.186, allocations: 11.16 kB / 0.8057 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009213/1.187, allocations: 0.7264 MB / 0.8064 GB, free: 36.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.19, allocations: 445 kB / 0.8069 GB, free: 36.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/1.203, allocations: 7.204 MB / 0.8139 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.206, allocations: 3.273 MB / 0.8171 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004103/1.211, allocations: 1.822 MB / 0.8189 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/1.211, allocations: 241.6 kB / 0.8191 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/1.211, allocations: 0 / 0.8191 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.04936/1.261, allocations: 27.19 MB / 0.8456 GB, free: 23.44 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches