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.0008482/0.0008482, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002393, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007275/0.0007275, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009289/0.001656, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.003/1.003, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09173/1.095, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.2771/0.2771, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0306/0.3077, allocations: 13.24 MB / 292.8 MB, free: 6.352 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.794e-06/1.794e-06, allocations: 0 / 294.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.246e-05, allocations: 3.719 kB / 294.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01944/0.01946, allocations: 10.83 MB / 304.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.03016, allocations: 4.155 MB / 309.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.03199, allocations: 83.56 kB / 309.2 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.0351, allocations: 2.53 MB / 311.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.03932, allocations: 1.936 MB / 313.7 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.04066, allocations: 0.7992 MB / 314.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004904/0.04556, allocations: 5.026 MB / 319.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.04873, allocations: 2.979 MB / 322.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.05182, allocations: 2.579 MB / 325 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.05441, allocations: 2.338 MB / 327.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000548/0.05495, allocations: 332 kB / 327.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.0564, allocations: 0.9323 MB / 328.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.05766, allocations: 1.831 MB / 330.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.05877, allocations: 1.056 MB / 331.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.06244, allocations: 4.144 MB / 335.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.06245, allocations: 3.984 kB / 335.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.06245, allocations: 0 / 335.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.006e-05/0.06254, allocations: 0 / 335.7 MB, free: 11.3 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.004901/0.06744, allocations: 5.328 MB / 341 MB, free: 5.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.06748, allocations: 8.922 kB / 341 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/0.07023, allocations: 1.227 MB / 342.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.07302, allocations: 1.77 MB / 344 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.07316, allocations: 250.6 kB / 344.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.07359, allocations: 332.2 kB / 344.6 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006035/0.07962, allocations: 5.255 MB / 349.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.642e-05/0.07971, allocations: 51.56 kB / 349.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.07996, allocations: 155.9 kB / 350 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/0.08132, allocations: 1.607 MB / 351.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/0.08567, allocations: 2.538 MB / 354.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02666/0.1123, allocations: 32.15 MB / 386.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.1158, allocations: 1.848 MB / 388.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.1162, allocations: 322.8 kB / 388.5 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004553/0.1207, allocations: 3.477 MB / 392 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1208, allocations: 47.56 kB / 392 MB, free: 0.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=145): time 3.386e-06/0.1208, allocations: 0 / 392 MB, free: 0.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.009462/0.1302, allocations: 4.468 MB / 396.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.1303, allocations: 149.5 kB / 396.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.1331, allocations: 3.177 MB / 399.8 MB, free: 8.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.1332, allocations: 53.69 kB / 399.8 MB, free: 8.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.1345, allocations: 3.157 MB / 403 MB, free: 5.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/0.1349, allocations: 0.6474 MB / 403.7 MB, free: 4.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008786/0.1358, allocations: 1.164 MB / 404.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.1358, allocations: 309.1 kB / 405.1 MB, free: 3.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000972/0.1368, allocations: 0.7002 MB / 405.8 MB, free: 2.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.1394, allocations: 4.576 MB / 410.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.1442, allocations: 6.24 MB / 416.6 MB, free: 3.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.1444, allocations: 40 kB / 416.7 MB, free: 3.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.006895/0.1513, allocations: 4.111 MB / 420.8 MB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/0.1513, allocations: 66.03 kB / 420.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/0.1515, allocations: 144 kB / 421 MB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.1516, allocations: 184 kB / 421.2 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.1545, allocations: 1.605 MB / 422.8 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001622/0.1547, allocations: 271 kB / 423 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.1581, allocations: 283.7 kB / 423.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/0.1586, allocations: 335.9 kB / 423.6 MB, free: 12.88 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.001788/0.1604, allocations: 0.6377 MB / 424.3 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/0.1609, allocations: 207.8 kB / 424.5 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.1614, allocations: 323.1 kB / 424.8 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.1614, allocations: 12 kB / 424.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.1614, allocations: 0 / 424.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1614, allocations: 7.984 kB / 424.8 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.1674, allocations: 4.06 MB / 428.9 MB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.1674, allocations: 20 kB / 428.9 MB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.168, allocations: 311.5 kB / 429.2 MB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.1687, allocations: 329.6 kB / 429.5 MB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-05/0.1687, allocations: 24 kB / 429.5 MB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.1688, allocations: 47.98 kB / 429.6 MB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/0.1688, allocations: 35.86 kB / 429.6 MB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.1688, allocations: 27.88 kB / 429.7 MB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1703, allocations: 1.898 MB / 431.6 MB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.1707, allocations: 51.98 kB / 431.6 MB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.1713, allocations: 43.98 kB / 431.6 MB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1714, allocations: 151.3 kB / 431.8 MB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.237e-05/0.1715, allocations: 59.98 kB / 431.9 MB, free: 4.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.1729, allocations: 1.317 MB / 433.2 MB, free: 2.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1729, allocations: 0 / 433.2 MB, free: 2.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003472/0.1764, allocations: 0.9843 MB / 434.2 MB, free: 1.809 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.0003591/0.1767, allocations: 199.7 kB / 434.4 MB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1437/0.3205, allocations: 2.446 MB / 436.8 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004137/0.3209, allocations: 113.2 kB / 436.9 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.3215, allocations: 479.8 kB / 437.4 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.3242, allocations: 2.866 MB / 440.2 MB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.336, allocations: 7.842 MB / 448.1 MB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.3374, allocations: 1.181 MB / 449.3 MB, free: 116.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001481/0.3388, allocations: 0.4963 MB / 449.8 MB, free: 116.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/0.3396, allocations: 0.5455 MB / 450.3 MB, free: 116.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.274e-06/0.3396, allocations: 0 / 450.3 MB, free: 116.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03885/0.3784, allocations: 23.89 MB / 474.2 MB, free: 97.84 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4986325837671757]