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.0007255/0.0007255, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001774, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007957/0.0007957, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.00186, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.918/0.918, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.173/1.091, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1287/0.1287, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02087/0.1496, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.653e-06/1.653e-06, allocations: 0 / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.246e-05, allocations: 6.25 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01216/0.01218, allocations: 10.9 MB / 278.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009978/0.02216, allocations: 4.135 MB / 282.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.02507, allocations: 79.62 kB / 282.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.02867, allocations: 2.538 MB / 284.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.03278, allocations: 1.971 MB / 286.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.03412, allocations: 0.807 MB / 287.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005086/0.03921, allocations: 4.87 MB / 292.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.04284, allocations: 2.995 MB / 295.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.04657, allocations: 2.622 MB / 298.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003125/0.04969, allocations: 2.35 MB / 300.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009305/0.05062, allocations: 332 kB / 300.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.05232, allocations: 0.9557 MB / 301.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.05374, allocations: 1.851 MB / 303.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.05525, allocations: 1.079 MB / 304.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.05941, allocations: 4.218 MB / 308.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.05942, allocations: 0 / 308.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.05942, allocations: 4 kB / 308.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.132e-05/0.05951, allocations: 0 / 308.9 MB, free: 12.62 MB / 314.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.00629/0.0658, allocations: 5.382 MB / 314.3 MB, free: 7.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.06584, allocations: 8.031 kB / 314.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/0.07016, allocations: 1.227 MB / 315.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.07368, allocations: 1.809 MB / 317.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.07388, allocations: 246.7 kB / 317.6 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005331/0.07441, allocations: 328.2 kB / 317.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008993/0.08341, allocations: 5.236 MB / 323.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.08353, allocations: 47.64 kB / 323.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.08391, allocations: 159.8 kB / 323.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002145/0.08605, allocations: 1.717 MB / 325.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/0.09371, allocations: 2.522 MB / 327.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1661/0.2598, allocations: 32.15 MB / 359.7 MB, free: 27.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.2629, allocations: 1.849 MB / 361.6 MB, free: 27.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.2633, allocations: 320.9 kB / 361.9 MB, free: 27.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004386/0.2677, allocations: 3.482 MB / 365.4 MB, free: 26.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2677, allocations: 45.62 kB / 365.4 MB, free: 26.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=145): time 3.897e-06/0.2677, allocations: 0 / 365.4 MB, free: 26.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=157): time 0.009052/0.2768, allocations: 4.385 MB / 369.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2768, allocations: 152.8 kB / 370 MB, free: 25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.2797, allocations: 3.211 MB / 373.2 MB, free: 24.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.2798, allocations: 47.52 kB / 373.2 MB, free: 24.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.281, allocations: 3.166 MB / 376.4 MB, free: 21.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/0.2814, allocations: 0.6447 MB / 377 MB, free: 21.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007399/0.2821, allocations: 1.168 MB / 378.2 MB, free: 20.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.2821, allocations: 301.1 kB / 378.5 MB, free: 19.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/0.283, allocations: 0.7017 MB / 379.2 MB, free: 19.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.2847, allocations: 4.57 MB / 383.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.2878, allocations: 5.791 MB / 389.5 MB, free: 5.262 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-05/0.2879, allocations: 40 kB / 389.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.003927/0.2918, allocations: 4.114 MB / 393.7 MB, free: 1.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.2919, allocations: 68 kB / 393.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-05/0.2919, allocations: 140 kB / 393.9 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.6e-05/0.292, allocations: 187.9 kB / 394.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/0.2946, allocations: 1.595 MB / 395.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001487/0.2947, allocations: 274.9 kB / 396 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.2972, allocations: 275.7 kB / 396.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/0.2975, allocations: 336 kB / 396.5 MB, free: 14.25 MB / 346.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.001188/0.2987, allocations: 0.6324 MB / 397.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.2991, allocations: 212.6 kB / 397.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007481/0.2998, allocations: 0.6556 MB / 398 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.2999, allocations: 16 kB / 398.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2999, allocations: 7.984 kB / 398.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.2999, allocations: 3.984 kB / 398.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.305, allocations: 4.07 MB / 402.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.305, allocations: 20 kB / 402.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.3056, allocations: 296.7 kB / 402.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/0.3064, allocations: 397.5 kB / 402.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.568e-05/0.3064, allocations: 24 kB / 402.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.3065, allocations: 44 kB / 402.9 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/0.3065, allocations: 35.86 kB / 402.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.3065, allocations: 32.06 kB / 403 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.308, allocations: 1.912 MB / 404.9 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.3083, allocations: 47.98 kB / 404.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.3089, allocations: 43.28 kB / 405 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.309, allocations: 153.9 kB / 405.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.3091, allocations: 56 kB / 405.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.3103, allocations: 1.337 MB / 406.5 MB, free: 3.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3103, allocations: 0 / 406.5 MB, free: 3.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003343/0.3137, allocations: 1.015 MB / 407.5 MB, free: 2.719 MB / 346.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.0003259/0.314, allocations: 199.8 kB / 407.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.3166, allocations: 2.338 MB / 410.1 MB, free: 200 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001746/0.3168, allocations: 108.1 kB / 410.2 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.3171, allocations: 385.2 kB / 410.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.3187, allocations: 0.6776 MB / 411.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.3294, allocations: 7.868 MB / 419.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.3306, allocations: 1.201 MB / 420.3 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001375/0.332, allocations: 0.5055 MB / 420.8 MB, free: 5.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/0.3327, allocations: 0.5674 MB / 421.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.205e-06/0.3327, allocations: 0 / 421.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of Templates: time 0.04474/0.3774, allocations: 26.04 MB / 447.4 MB, free: 10.68 MB / 394.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 -ignoreHideResult -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: 3.9024554416537285]