Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 46.92 MB / 357.1 MB, free: 10.39 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.91 kB / 0.4914 GB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1657, allocations: 65.99 MB / 0.5559 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01462/0.1804, allocations: 11.42 MB / 0.567 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1906, allocations: 4.079 MB / 0.571 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.1931, allocations: 75.62 kB / 0.5711 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005633/0.1987, allocations: 2.53 MB / 0.5735 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.2054, allocations: 1.875 MB / 0.5754 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.2075, allocations: 0.7761 MB / 0.5761 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00798/0.2155, allocations: 4.511 MB / 0.5805 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004316/0.2198, allocations: 2.874 MB / 0.5833 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.2229, allocations: 1.581 MB / 0.5849 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.227, allocations: 2.399 MB / 0.5872 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.2281, allocations: 336 kB / 0.5875 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.2303, allocations: 0.9831 MB / 0.5885 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.2326, allocations: 1.975 MB / 0.5904 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3383/0.5709, allocations: 2.224 MB / 0.5926 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.5837, allocations: 6.834 MB / 0.5993 GB, free: 11.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5837, allocations: 0 / 0.5993 GB, free: 11.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5837, allocations: 0 / 0.5993 GB, free: 11.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003926/0.5841, allocations: 1.562 kB / 0.5993 GB, free: 11.4 MB / 446.1 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.01952/0.6036, allocations: 4.913 MB / 0.6041 GB, free: 9.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.6036, allocations: 10.83 kB / 0.6041 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009836/0.6135, allocations: 1.97 MB / 0.606 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/0.6217, allocations: 2.345 MB / 0.6083 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.622, allocations: 255.1 kB / 0.6085 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.624, allocations: 331.6 kB / 0.6089 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.6479, allocations: 10.23 MB / 0.6188 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.6481, allocations: 51.7 kB / 0.6189 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/0.6486, allocations: 158.7 kB / 0.6191 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/0.6516, allocations: 1.912 MB / 0.6209 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/0.6691, allocations: 8.172 MB / 0.6289 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06073/0.7298, allocations: 39.32 MB / 0.6673 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009498/0.7393, allocations: 3.176 MB / 0.6704 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.7412, allocations: 0.9553 MB / 0.6713 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.7524, allocations: 5.992 MB / 0.6772 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.7524, allocations: 54.94 kB / 0.6772 GB, free: 1.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 5.29e-06/0.7524, allocations: 4 kB / 0.6772 GB, free: 1.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02741/0.7798, allocations: 9.743 MB / 0.6868 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.78, allocations: 200.9 kB / 0.6869 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/0.7871, allocations: 4.054 MB / 0.6909 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.7873, allocations: 45.7 kB / 0.6909 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002816/0.7901, allocations: 3.306 MB / 0.6942 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000834/0.791, allocations: 0.6606 MB / 0.6948 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/0.7928, allocations: 1.228 MB / 0.696 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7929, allocations: 308.9 kB / 0.6963 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.7959, allocations: 1.659 MB / 0.6979 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/0.8026, allocations: 5.534 MB / 0.7033 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.8154, allocations: 7.808 MB / 0.711 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/0.8156, allocations: 40 kB / 0.711 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01732/0.8329, allocations: 6.944 MB / 0.7178 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.833, allocations: 64 kB / 0.7178 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/0.8332, allocations: 138.8 kB / 0.718 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.8334, allocations: 184 kB / 0.7182 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/0.8385, allocations: 1.431 MB / 0.7195 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002617/0.8388, allocations: 270.9 kB / 0.7198 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/0.8436, allocations: 305.5 kB / 0.7201 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.8446, allocations: 375.9 kB / 0.7205 GB, free: 1.832 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * 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 (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004469/0.8491, allocations: 2.037 MB / 0.7224 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/0.8499, allocations: 365.6 kB / 0.7228 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.8508, allocations: 418.6 kB / 0.7232 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.8509, allocations: 16 kB / 0.7232 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.8509, allocations: 4 kB / 0.7232 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.8509, allocations: 3.984 kB / 0.7232 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.8628, allocations: 5.845 MB / 0.7289 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/0.8628, allocations: 16 kB / 0.7289 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.8639, allocations: 284.3 kB / 0.7292 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.887e-05/0.864, allocations: 24 kB / 0.7292 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.8641, allocations: 56 kB / 0.7293 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/0.8641, allocations: 35.86 kB / 0.7293 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.07e-05/0.8641, allocations: 27.88 kB / 0.7293 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005014/0.8692, allocations: 3.322 MB / 0.7326 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.8703, allocations: 434.5 kB / 0.733 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.8707, allocations: 51.98 kB / 0.7331 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.8718, allocations: 66.45 kB / 0.7331 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.872, allocations: 156 kB / 0.7333 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.8721, allocations: 60 kB / 0.7333 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005164/0.8773, allocations: 2.511 MB / 0.7358 GB, free: 1.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8773, allocations: 0 / 0.7358 GB, free: 1.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006284/0.8836, allocations: 0.8905 MB / 0.7366 GB, free: 0.6797 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005944/0.8842, allocations: 197.2 kB / 0.7368 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007777/0.892, allocations: 3.697 MB / 0.7404 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.892, allocations: 4 kB / 0.7405 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.8933, allocations: 0.7103 MB / 0.7411 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.8966, allocations: 476.1 kB / 0.7416 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.9155, allocations: 8.862 MB / 0.7503 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004352/0.9199, allocations: 3.173 MB / 0.7534 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004679/0.9245, allocations: 1.812 MB / 0.7551 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.9252, allocations: 243.3 kB / 0.7554 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.9252, allocations: 0 / 0.7554 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.0659/0.9911, allocations: 25.62 MB / 0.7804 GB, free: 3.863 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.342951402068138]