Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008076/0.0008076, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001907, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007052/0.0007052, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009189/0.001624, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08908/1.094, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2531/0.2531, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02249/0.2756, allocations: 13.24 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.514e-05, allocations: 4.422 kB / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008368/0.008383, allocations: 10.84 MB / 304.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.01515, allocations: 4.155 MB / 308.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.01608, allocations: 75.62 kB / 308.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003124/0.01921, allocations: 2.534 MB / 311.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.02245, allocations: 1.932 MB / 313.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.02366, allocations: 0.7953 MB / 314.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004351/0.02801, allocations: 5.047 MB / 319.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.03065, allocations: 2.983 MB / 322.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.03306, allocations: 2.583 MB / 324.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.03537, allocations: 2.33 MB / 327.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.03574, allocations: 332 kB / 327.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.03704, allocations: 0.9362 MB / 328.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.03838, allocations: 1.827 MB / 330.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.03952, allocations: 1.063 MB / 331.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.04321, allocations: 4.148 MB / 335.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.04322, allocations: 0 / 335.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04322, allocations: 3.938 kB / 335.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.075e-05/0.04326, allocations: 4 kB / 335.4 MB, free: 11.41 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.005539/0.0488, allocations: 5.321 MB / 340.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.04883, allocations: 12.92 kB / 340.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.05233, allocations: 1.227 MB / 342 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.05452, allocations: 1.77 MB / 343.8 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.05468, allocations: 242.7 kB / 344 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.05511, allocations: 332.2 kB / 344.3 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.05995, allocations: 5.255 MB / 349.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-05/0.06002, allocations: 55.55 kB / 349.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.06025, allocations: 159.9 kB / 349.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001345/0.06159, allocations: 1.709 MB / 351.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/0.06512, allocations: 2.542 MB / 354.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.08336, allocations: 32.15 MB / 386.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.0863, allocations: 1.854 MB / 388.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.08664, allocations: 329 kB / 388.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003341/0.08999, allocations: 3.458 MB / 391.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.09002, allocations: 55.5 kB / 391.9 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 2.986e-06/0.09002, allocations: 0 / 391.9 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.007721/0.09774, allocations: 4.388 MB / 396.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.0978, allocations: 145.5 kB / 396.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.09989, allocations: 3.177 MB / 399.6 MB, free: 8.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.09995, allocations: 49.7 kB / 399.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.1012, allocations: 3.16 MB / 402.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.1015, allocations: 0.6474 MB / 403.5 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000839/0.1023, allocations: 1.164 MB / 404.6 MB, free: 3.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.1024, allocations: 309 kB / 404.9 MB, free: 3.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.1033, allocations: 0.7002 MB / 405.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.1059, allocations: 4.572 MB / 410.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.1094, allocations: 5.798 MB / 416 MB, free: 4.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/0.1094, allocations: 40 kB / 416 MB, free: 4.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.003612/0.113, allocations: 4.112 MB / 420.1 MB, free: 292 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.1131, allocations: 64 kB / 420.2 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-05/0.1132, allocations: 140 kB / 420.3 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.987e-05/0.1133, allocations: 184 kB / 420.5 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.1156, allocations: 1.607 MB / 422.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.1157, allocations: 274.9 kB / 422.4 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.1174, allocations: 275.7 kB / 422.7 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.1176, allocations: 332 kB / 423 MB, free: 13.43 MB / 426.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.0008168/0.1184, allocations: 0.6457 MB / 423.6 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.1187, allocations: 207.8 kB / 423.8 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.119, allocations: 319.1 kB / 424.1 MB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.119, allocations: 20 kB / 424.2 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.119, allocations: 0 / 424.2 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.119, allocations: 7.969 kB / 424.2 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.1228, allocations: 4.044 MB / 428.2 MB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.1228, allocations: 24.03 kB / 428.2 MB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.1233, allocations: 307.5 kB / 428.5 MB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.1236, allocations: 321.6 kB / 428.9 MB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.1236, allocations: 24 kB / 428.9 MB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.1237, allocations: 44 kB / 428.9 MB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/0.1237, allocations: 35.86 kB / 429 MB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.1237, allocations: 31.81 kB / 429 MB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.1249, allocations: 1.912 MB / 430.9 MB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.1251, allocations: 47.98 kB / 430.9 MB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.1256, allocations: 47.94 kB / 431 MB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1257, allocations: 143.4 kB / 431.1 MB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.1258, allocations: 59.98 kB / 431.2 MB, free: 4.668 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000998/0.1268, allocations: 1.309 MB / 432.5 MB, free: 3.367 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1268, allocations: 0 / 432.5 MB, free: 3.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002427/0.1292, allocations: 0.992 MB / 433.5 MB, free: 2.375 MB / 426.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.0002888/0.1295, allocations: 199.7 kB / 433.7 MB, free: 2.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1261/0.2556, allocations: 2.327 MB / 436 MB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004564/0.256, allocations: 107 kB / 436.1 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.2565, allocations: 392.2 kB / 436.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.2587, allocations: 0.651 MB / 437.2 MB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/0.2673, allocations: 7.843 MB / 445 MB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.2681, allocations: 1.188 MB / 446.2 MB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.2691, allocations: 0.5095 MB / 446.7 MB, free: 118.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/0.2697, allocations: 0.5569 MB / 447.3 MB, free: 118.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2697, allocations: 3.938 kB / 447.3 MB, free: 118.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03474/0.3044, allocations: 25.41 MB / 472.7 MB, free: 99.36 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.8744020061567426]