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.001463/0.001469, allocations: 175.1 kB / 16.76 MB, free: 5.047 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.503/1.503, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000779/0.000779, allocations: 78.42 kB / 271.3 MB, free: 8.254 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.3445/0.3445, allocations: 43.55 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 15.98 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4349, allocations: 105 MB / 0.5825 GB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4352, allocations: 83.95 kB / 0.5825 GB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2206/0.6559, allocations: 85.39 MB / 0.6659 GB, free: 6.988 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.6559, allocations: 0 / 0.6659 GB, free: 6.988 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002959/0.6562, allocations: 80 kB / 0.666 GB, free: 6.91 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.01257/0.6688, allocations: 4.165 MB / 0.6701 GB, free: 2.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6689, allocations: 19.95 kB / 0.6701 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.6796, allocations: 2.382 MB / 0.6724 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2382/0.9179, allocations: 4 MB / 0.6763 GB, free: 91.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.9183, allocations: 335 kB / 0.6767 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.9201, allocations: 439.1 kB / 0.6771 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.9405, allocations: 10.67 MB / 0.6875 GB, free: 88.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/0.9407, allocations: 64.84 kB / 0.6875 GB, free: 88.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006092/0.9414, allocations: 219.6 kB / 0.6878 GB, free: 88.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.9427, allocations: 1.042 MB / 0.6888 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.958, allocations: 8.324 MB / 0.6969 GB, free: 88.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/1.002, allocations: 48.04 MB / 0.7438 GB, free: 54.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007536/1.009, allocations: 3.231 MB / 0.747 GB, free: 53.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/1.011, allocations: 1.037 MB / 0.748 GB, free: 52.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009433/1.02, allocations: 5.952 MB / 0.7538 GB, free: 48.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.021, allocations: 51.31 kB / 0.7538 GB, free: 48.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 4.478e-06/1.021, allocations: 0 / 0.7538 GB, free: 48.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02248/1.043, allocations: 9.529 MB / 0.7632 GB, free: 44.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.043, allocations: 202.4 kB / 0.7633 GB, free: 44.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/1.051, allocations: 4.105 MB / 0.7674 GB, free: 42.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/1.051, allocations: 48.55 kB / 0.7674 GB, free: 42.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.053, allocations: 3.19 MB / 0.7705 GB, free: 40.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007621/1.054, allocations: 0.6346 MB / 0.7711 GB, free: 39.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005273/1.054, allocations: 122 kB / 0.7713 GB, free: 39.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004959/1.055, allocations: 0.5552 MB / 0.7718 GB, free: 39.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/1.058, allocations: 1.659 MB / 0.7734 GB, free: 38.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/1.063, allocations: 5.497 MB / 0.7788 GB, free: 33.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007601/1.07, allocations: 7.745 MB / 0.7863 GB, free: 26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.07, allocations: 37.16 kB / 0.7864 GB, free: 26 MB / 490.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01263/1.083, allocations: 6.888 MB / 0.7931 GB, free: 23.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.083, allocations: 67.88 kB / 0.7932 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002216/1.083, allocations: 137.8 kB / 0.7933 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/1.084, allocations: 181.3 kB / 0.7935 GB, free: 23.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/1.088, allocations: 1.446 MB / 0.7949 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002132/1.088, allocations: 270.9 kB / 0.7952 GB, free: 23.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.093, allocations: 386.9 kB / 0.7955 GB, free: 22.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.094, allocations: 372.9 kB / 0.7959 GB, free: 22.94 MB / 490.7 MB 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 () * Number of clocked 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.004582/1.099, allocations: 2.03 MB / 0.7979 GB, free: 21.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008865/1.1, allocations: 356 kB / 0.7982 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/1.103, allocations: 1.344 MB / 0.7995 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/1.103, allocations: 17.31 kB / 0.7995 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.103, allocations: 0 / 0.7995 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.103, allocations: 6.656 kB / 0.7995 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.115, allocations: 5.864 MB / 0.8053 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-05/1.115, allocations: 19.03 kB / 0.8053 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.116, allocations: 279.3 kB / 0.8055 GB, free: 18.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.694e-05/1.116, allocations: 22.84 kB / 0.8056 GB, free: 18.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.116, allocations: 55.17 kB / 0.8056 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.333e-05/1.116, allocations: 35.31 kB / 0.8057 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/1.116, allocations: 33.06 kB / 0.8057 GB, free: 18.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/1.12, allocations: 3.278 MB / 0.8089 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.122, allocations: 0.5358 MB / 0.8094 GB, free: 16.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009778/1.123, allocations: 49.73 kB / 0.8095 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.125, allocations: 93.23 kB / 0.8095 GB, free: 16.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.125, allocations: 151.8 kB / 0.8097 GB, free: 16.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.125, allocations: 67.5 kB / 0.8098 GB, free: 16.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005685/1.131, allocations: 2.567 MB / 0.8123 GB, free: 15.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.131, allocations: 0 / 0.8123 GB, free: 15.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008389/1.139, allocations: 0.9106 MB / 0.8131 GB, free: 14.25 MB / 490.7 MB 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 () * Number of clocked 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.0006393/1.14, allocations: 219.1 kB / 0.8134 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006317/1.146, allocations: 3.762 MB / 0.817 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.095e-05/1.146, allocations: 8.375 kB / 0.817 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.147, allocations: 0.7419 MB / 0.8178 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/1.16, allocations: 471.5 kB / 0.8182 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.18, allocations: 10.46 MB / 0.8284 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00606/1.186, allocations: 3.179 MB / 0.8315 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005357/1.191, allocations: 1.822 MB / 0.8333 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009078/1.192, allocations: 246 kB / 0.8335 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/1.192, allocations: 0 / 0.8335 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.06335/1.256, allocations: 27.3 MB / 0.8602 GB, free: 7.207 MB / 0.5105 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/jenkins1/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