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/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.001657/0.001657, allocations: 85.86 kB / 21.44 MB, free: 3.055 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.001872/0.001872, allocations: 168.8 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9296/0.9296, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1813/0.1813, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.569e-05, allocations: 6.25 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01149/0.0115, allocations: 10.77 MB / 359.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005692/0.0172, allocations: 3.961 MB / 363.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006725/0.01787, allocations: 75.62 kB / 363.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.02043, allocations: 2.643 MB / 366.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.02294, allocations: 2.018 MB / 368.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.02404, allocations: 0.8654 MB / 369.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.0275, allocations: 5.08 MB / 374.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.03007, allocations: 3.392 MB / 377.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.03213, allocations: 2.541 MB / 380.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.03438, allocations: 2.471 MB / 382.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.03469, allocations: 336 kB / 383.1 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.03574, allocations: 0.9283 MB / 384 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.0369, allocations: 2.084 MB / 386.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009762/0.03787, allocations: 1.336 MB / 387.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003801/0.04167, allocations: 4.53 MB / 391.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.04168, allocations: 0 / 391.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.04168, allocations: 4 kB / 391.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.654e-05/0.04173, allocations: 0 / 391.9 MB, free: 13.94 MB / 330.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.004914/0.04664, allocations: 5.052 MB / 397 MB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.04668, allocations: 12.03 kB / 397 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.05004, allocations: 1.578 MB / 398.6 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.05195, allocations: 1.945 MB / 400.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.05208, allocations: 246.7 kB / 400.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/0.05243, allocations: 328.2 kB / 401.1 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006044/0.05848, allocations: 5.892 MB / 407 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-05/0.05856, allocations: 51.55 kB / 407 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.05881, allocations: 163.9 kB / 407.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001433/0.06025, allocations: 1.701 MB / 408.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.06441, allocations: 2.516 MB / 411.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/0.2586, allocations: 45.14 MB / 456.6 MB, free: 51.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/0.2623, allocations: 1.996 MB / 458.5 MB, free: 51.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.2631, allocations: 410.8 kB / 458.9 MB, free: 51.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006203/0.2693, allocations: 3.805 MB / 462.8 MB, free: 50.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.2693, allocations: 59.5 kB / 462.8 MB, free: 50.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 4.859e-06/0.2694, allocations: 1.375 kB / 462.8 MB, free: 50.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.012/0.2814, allocations: 5.067 MB / 467.9 MB, free: 49.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.2814, allocations: 201.2 kB / 468.1 MB, free: 49.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.2845, allocations: 3.572 MB / 471.6 MB, free: 48.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.943e-05/0.2846, allocations: 45.77 kB / 471.7 MB, free: 48.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.286, allocations: 3.534 MB / 475.2 MB, free: 46.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006613/0.2867, allocations: 0.6732 MB / 475.9 MB, free: 46.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.2878, allocations: 1.347 MB / 477.2 MB, free: 46.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.2878, allocations: 491.4 kB / 477.7 MB, free: 45.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008998/0.2887, allocations: 0.5178 MB / 478.2 MB, free: 45.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.2913, allocations: 6.434 MB / 484.7 MB, free: 38.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/0.2966, allocations: 7.58 MB / 492.3 MB, free: 30.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/0.2967, allocations: 39.47 kB / 492.3 MB, free: 30.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.007171/0.3039, allocations: 4.844 MB / 497.1 MB, free: 27.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.304, allocations: 64 kB / 497.2 MB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/0.3041, allocations: 142.4 kB / 497.3 MB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.3043, allocations: 184 kB / 497.5 MB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.3071, allocations: 1.423 MB / 498.9 MB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/0.3073, allocations: 281.7 kB / 499.2 MB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/0.311, allocations: 279.8 kB / 499.5 MB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/0.3113, allocations: 339.6 kB / 499.8 MB, free: 24.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 (784): * Single equations (assignments): 781 * 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.001264/0.3126, allocations: 0.6684 MB / 0.4888 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000686/0.3133, allocations: 380 kB / 0.4891 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008745/0.3142, allocations: 0.7555 MB / 0.4899 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.3142, allocations: 20 kB / 0.4899 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3142, allocations: 3.656 kB / 0.4899 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3142, allocations: 3.562 kB / 0.4899 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/0.3203, allocations: 4.878 MB / 0.4947 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.3203, allocations: 16.97 kB / 0.4947 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.3209, allocations: 263.6 kB / 0.4949 GB, free: 18.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.3209, allocations: 28 kB / 0.4949 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/0.3209, allocations: 52 kB / 0.495 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.041e-05/0.3209, allocations: 35.86 kB / 0.495 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.321, allocations: 30.38 kB / 0.4951 GB, free: 18.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.3231, allocations: 2.37 MB / 0.4974 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007628/0.3239, allocations: 420.2 kB / 0.4978 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.3242, allocations: 51.92 kB / 0.4978 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.3249, allocations: 51.98 kB / 0.4979 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.325, allocations: 147.3 kB / 0.498 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.325, allocations: 62.34 kB / 0.4981 GB, free: 14.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.3264, allocations: 1.432 MB / 0.4995 GB, free: 13.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3264, allocations: 1.422 kB / 0.4995 GB, free: 13.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004283/0.3307, allocations: 1.008 MB / 0.5005 GB, free: 12.65 MB / 378.7 MB 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 (142): * Single equations (assignments): 139 * 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.0004195/0.3311, allocations: 222.4 kB / 0.5007 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003497/0.3346, allocations: 2.491 MB / 0.5031 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.3346, allocations: 4.312 kB / 0.5031 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.3351, allocations: 427.6 kB / 0.5035 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.3373, allocations: 433.3 kB / 0.5039 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.3482, allocations: 7.702 MB / 0.5115 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.3493, allocations: 1.196 MB / 0.5126 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001632/0.3509, allocations: 0.5142 MB / 0.5131 GB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.352, allocations: 0.5996 MB / 0.5137 GB, free: 14.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.144e-06/0.352, allocations: 0 / 0.5137 GB, free: 14.84 MB / 394.7 MB Notification: Performance of Templates: time 0.04944/0.4014, allocations: 25.89 MB / 0.539 GB, free: 5.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.434307869989425]