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.001473/0.001473, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.001859/0.001859, allocations: 157.7 kB / 23.52 MB, free: 0.918 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 1.444/1.444, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2282/0.2282, allocations: 32.37 MB / 270 MB, free: 14.78 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 3.156e-06/3.156e-06, allocations: 4 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.148e-05, allocations: 6.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008792/0.008823, allocations: 10.01 MB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.01909, allocations: 3.868 MB / 360.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.02181, allocations: 75.62 kB / 360.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006254/0.02806, allocations: 2.604 MB / 363.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.03432, allocations: 2.002 MB / 365.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.03673, allocations: 0.8693 MB / 366.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008575/0.04531, allocations: 5.097 MB / 371.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006642/0.05195, allocations: 3.388 MB / 374.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/0.05766, allocations: 2.463 MB / 377.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005292/0.06295, allocations: 2.517 MB / 379.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.06422, allocations: 344 kB / 380.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.06687, allocations: 0.9322 MB / 381.1 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003448/0.07032, allocations: 2.088 MB / 383.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003686/0.07401, allocations: 1.336 MB / 384.5 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.08631, allocations: 6.946 MB / 391.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.08632, allocations: 0 / 391.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.08632, allocations: 0 / 391.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002819/0.0866, allocations: 0 / 391.5 MB, free: 13.08 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.01425/0.1008, allocations: 4.954 MB / 396.4 MB, free: 8.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1009, allocations: 8.031 kB / 396.4 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009856/0.1108, allocations: 2.619 MB / 399.1 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006058/0.1168, allocations: 2.386 MB / 401.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.1171, allocations: 242.7 kB / 401.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.1182, allocations: 332.2 kB / 402 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.1408, allocations: 10.33 MB / 412.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.141, allocations: 47.64 kB / 412.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/0.1415, allocations: 159.8 kB / 412.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003422/0.1449, allocations: 1.904 MB / 414.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.1652, allocations: 8.149 MB / 422.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2141/0.3793, allocations: 37.08 MB / 459.7 MB, free: 77.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007489/0.3868, allocations: 2.83 MB / 462.5 MB, free: 77.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3881, allocations: 0.9571 MB / 463.5 MB, free: 77.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007486/0.3956, allocations: 4.426 MB / 467.9 MB, free: 75.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3956, allocations: 50.62 kB / 467.9 MB, free: 75.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.917e-06/0.3956, allocations: 0 / 467.9 MB, free: 75.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.02206/0.4177, allocations: 10.03 MB / 478 MB, free: 71.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.4177, allocations: 204.4 kB / 478.2 MB, free: 70.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/0.4226, allocations: 4.033 MB / 482.2 MB, free: 67.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.4227, allocations: 49.81 kB / 482.2 MB, free: 67.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.4242, allocations: 3.307 MB / 485.6 MB, free: 63.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004449/0.4247, allocations: 0.6496 MB / 486.2 MB, free: 63.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.4258, allocations: 1.211 MB / 487.4 MB, free: 61.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.4258, allocations: 313 kB / 487.7 MB, free: 61.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.4279, allocations: 1.672 MB / 489.4 MB, free: 60 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004118/0.4321, allocations: 5.592 MB / 495 MB, free: 52.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006437/0.4385, allocations: 7.81 MB / 0.491 GB, free: 42.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/0.4386, allocations: 40 kB / 0.491 GB, free: 42.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01101/0.4496, allocations: 7.257 MB / 0.4981 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.418e-05/0.4497, allocations: 64 kB / 0.4982 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.4498, allocations: 140.2 kB / 0.4983 GB, free: 35.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.4499, allocations: 184 kB / 0.4985 GB, free: 35.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.4537, allocations: 1.443 MB / 0.4999 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001712/0.4538, allocations: 271 kB / 0.5002 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/0.4589, allocations: 407.5 kB / 0.5006 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/0.4593, allocations: 383.4 kB / 0.5009 GB, free: 32.81 MB / 378.7 MB 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.002644/0.4619, allocations: 2.04 MB / 0.5029 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/0.4626, allocations: 373.7 kB / 0.5033 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.4645, allocations: 1.306 MB / 0.5045 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.4645, allocations: 20 kB / 0.5046 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4645, allocations: 4 kB / 0.5046 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4646, allocations: 7.969 kB / 0.5046 GB, free: 29.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/0.4717, allocations: 4.745 MB / 0.5092 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.4717, allocations: 16.94 kB / 0.5092 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/0.4726, allocations: 279.5 kB / 0.5095 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-05/0.4726, allocations: 31.94 kB / 0.5095 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.4727, allocations: 51.98 kB / 0.5096 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.541e-05/0.4727, allocations: 35.86 kB / 0.5096 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-05/0.4727, allocations: 30.41 kB / 0.5096 GB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/0.4767, allocations: 3.263 MB / 0.5128 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.478, allocations: 477.5 kB / 0.5133 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.4783, allocations: 47.98 kB / 0.5133 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.4796, allocations: 127.8 kB / 0.5134 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.4798, allocations: 151.3 kB / 0.5136 GB, free: 19.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.4799, allocations: 74.75 kB / 0.5137 GB, free: 19.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003032/0.4829, allocations: 2.348 MB / 0.516 GB, free: 16.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4829, allocations: 3.938 kB / 0.516 GB, free: 16.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005525/0.4884, allocations: 1.008 MB / 0.5169 GB, free: 15.92 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 (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.0005442/0.489, allocations: 222.4 kB / 0.5172 GB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005975/0.4949, allocations: 3.688 MB / 0.5208 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.495, allocations: 7.984 kB / 0.5208 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.4958, allocations: 0.6974 MB / 0.5214 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.4985, allocations: 434.2 kB / 0.5219 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.5123, allocations: 8.855 MB / 0.5305 GB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003574/0.5159, allocations: 2.647 MB / 0.5331 GB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004992/0.5209, allocations: 1.789 MB / 0.5348 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/0.5216, allocations: 236.5 kB / 0.5351 GB, free: 13.08 MB / 394.7 MB Notification: Performance of SimCode: time 3.948e-06/0.5216, allocations: 0 / 0.5351 GB, free: 13.08 MB / 394.7 MB Notification: Performance of Templates: time 0.0586/0.5802, allocations: 22.49 MB / 0.557 GB, free: 6.773 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.503004738944583]