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.0008667/0.0008667, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004277/0.004277, allocations: 159.9 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8532/0.8532, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2479/0.2479, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 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 1.533e-06/1.533e-06, allocations: 0 / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.349e-05, allocations: 3.688 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.1946/0.1946, allocations: 9.937 MB / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.1987, allocations: 3.88 MB / 457.3 MB, free: 36.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.1992, allocations: 80.66 kB / 457.3 MB, free: 36.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.2011, allocations: 2.547 MB / 459.9 MB, free: 35.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.203, allocations: 1.957 MB / 461.9 MB, free: 34.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.2038, allocations: 0.8502 MB / 462.7 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.2061, allocations: 5.193 MB / 467.9 MB, free: 32.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.2077, allocations: 3.271 MB / 471.2 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2091, allocations: 2.431 MB / 473.6 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.2106, allocations: 2.494 MB / 476.1 MB, free: 29.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.2109, allocations: 344.7 kB / 476.4 MB, free: 29.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.2118, allocations: 0.9159 MB / 477.3 MB, free: 28.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.2125, allocations: 2.057 MB / 479.4 MB, free: 28.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007471/0.2133, allocations: 1.313 MB / 480.7 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006348/0.2196, allocations: 6.874 MB / 487.6 MB, free: 24.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2196, allocations: 3.938 kB / 487.6 MB, free: 24.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2196, allocations: 1.094 kB / 487.6 MB, free: 24.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.2197, allocations: 0 / 487.6 MB, free: 24.99 MB / 410.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.00654/0.2263, allocations: 4.906 MB / 492.5 MB, free: 22.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.2263, allocations: 10.59 kB / 492.5 MB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/0.2308, allocations: 2.014 MB / 494.5 MB, free: 21.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.2339, allocations: 2.257 MB / 496.8 MB, free: 20.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.2341, allocations: 259.2 kB / 497 MB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/0.2345, allocations: 330.7 kB / 497.4 MB, free: 20.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.2453, allocations: 10.35 MB / 0.4958 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/0.2454, allocations: 41.61 kB / 0.4958 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.2456, allocations: 164.8 kB / 0.496 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001709/0.2474, allocations: 1.906 MB / 0.4979 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008016/0.2554, allocations: 8.165 MB / 0.5058 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/0.2818, allocations: 36.96 MB / 0.5419 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.2863, allocations: 2.864 MB / 0.5447 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/0.2872, allocations: 0.9577 MB / 0.5457 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004961/0.2921, allocations: 4.416 MB / 0.55 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.2922, allocations: 51.56 kB / 0.55 GB, free: 6.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 3.076e-06/0.2922, allocations: 0 / 0.55 GB, free: 6.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01339/0.3055, allocations: 9.98 MB / 0.5598 GB, free: 12.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.3056, allocations: 197.1 kB / 0.56 GB, free: 12.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/0.3094, allocations: 3.955 MB / 0.5638 GB, free: 8.438 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.3095, allocations: 45.7 kB / 0.5639 GB, free: 8.387 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.3109, allocations: 3.303 MB / 0.5671 GB, free: 5.051 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000661/0.3116, allocations: 0.6552 MB / 0.5677 GB, free: 4.391 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009896/0.3125, allocations: 1.203 MB / 0.5689 GB, free: 3.176 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.3126, allocations: 305.1 kB / 0.5692 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.3142, allocations: 1.656 MB / 0.5708 GB, free: 1.215 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/0.3176, allocations: 5.588 MB / 0.5763 GB, free: 9.672 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005445/0.323, allocations: 7.797 MB / 0.5839 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.785e-05/0.3231, allocations: 39.75 kB / 0.5839 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.006838/0.3299, allocations: 6.918 MB / 0.5907 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.33, allocations: 64.94 kB / 0.5907 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.668e-05/0.33, allocations: 139.7 kB / 0.5909 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.89e-05/0.3301, allocations: 180 kB / 0.591 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.3325, allocations: 1.443 MB / 0.5924 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001228/0.3326, allocations: 267 kB / 0.5927 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.3349, allocations: 359.5 kB / 0.593 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.3352, allocations: 376 kB / 0.5934 GB, free: 6.207 MB / 0.4948 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.002448/0.3377, allocations: 2.045 MB / 0.5954 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.338, allocations: 321.8 kB / 0.5957 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.3384, allocations: 378.8 kB / 0.5961 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.3384, allocations: 19.98 kB / 0.5961 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3384, allocations: 4 kB / 0.5961 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.3384, allocations: 3.984 kB / 0.5961 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.3436, allocations: 4.742 MB / 0.6007 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.3436, allocations: 16 kB / 0.6007 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.3441, allocations: 283.5 kB / 0.601 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.3441, allocations: 24.72 kB / 0.601 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.3442, allocations: 51.94 kB / 0.6011 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.121e-05/0.3442, allocations: 39.86 kB / 0.6011 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/0.3442, allocations: 27.88 kB / 0.6012 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.3465, allocations: 3.252 MB / 0.6043 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.3469, allocations: 337.6 kB / 0.6046 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.3471, allocations: 55.92 kB / 0.6047 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.3477, allocations: 103.9 kB / 0.6048 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3479, allocations: 147.4 kB / 0.6049 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.3479, allocations: 71.98 kB / 0.605 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002292/0.3502, allocations: 2.281 MB / 0.6072 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3502, allocations: 4 kB / 0.6072 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003052/0.3533, allocations: 0.9765 MB / 0.6082 GB, free: 6.531 MB / 0.5105 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.000337/0.3536, allocations: 219.6 kB / 0.6084 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.3571, allocations: 3.698 MB / 0.612 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3571, allocations: 7.938 kB / 0.612 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.3577, allocations: 0.7027 MB / 0.6127 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3593, allocations: 421.1 kB / 0.6131 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/0.3689, allocations: 9.103 MB / 0.622 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/0.371, allocations: 2.635 MB / 0.6246 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.3715, allocations: 280.5 kB / 0.6248 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of SimCode: time 1.203e-06/0.3715, allocations: 0 / 0.6248 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of Templates: time 0.217/0.5885, allocations: 54.23 MB / 0.6778 GB, free: 135.5 MB / 0.5261 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: 8.29683194682002]