Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002631/0.002631, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003064/0.003064, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3472/0.3472, allocations: 32.81 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.081e-05, allocations: 9.688 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01592/0.01595, allocations: 10.91 MB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.02601, allocations: 3.976 MB / 390.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.02809, allocations: 79.56 kB / 390.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006544/0.03463, allocations: 2.655 MB / 392.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006316/0.04095, allocations: 1.963 MB / 394.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.04331, allocations: 0.8615 MB / 395.7 MB, free: 456 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008373/0.05168, allocations: 5.207 MB / 400.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005616/0.0573, allocations: 3.369 MB / 404.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.06275, allocations: 2.436 MB / 406.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/0.06792, allocations: 2.545 MB / 409.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.06902, allocations: 343.9 kB / 409.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.07145, allocations: 0.9167 MB / 410.5 MB, free: 1.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002746/0.0742, allocations: 2.069 MB / 412.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.07706, allocations: 1.324 MB / 413.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.08766, allocations: 6.888 MB / 420.8 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.08767, allocations: 4 kB / 420.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.08767, allocations: 0 / 420.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002536/0.08793, allocations: 0 / 420.8 MB, free: 7.25 MB / 394.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.01455/0.1025, allocations: 5.724 MB / 426.5 MB, free: 1.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1025, allocations: 8.031 kB / 426.5 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0096/0.1121, allocations: 2.522 MB / 429.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/0.1187, allocations: 2.107 MB / 431.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.119, allocations: 250.7 kB / 431.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.1202, allocations: 328.2 kB / 431.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.1381, allocations: 7.021 MB / 438.8 MB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.1383, allocations: 47.58 kB / 438.8 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004648/0.1387, allocations: 155.9 kB / 439 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003385/0.1421, allocations: 1.911 MB / 440.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1645/0.3066, allocations: 3.596 MB / 444.5 MB, free: 93.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04254/0.3492, allocations: 48.86 MB / 493.3 MB, free: 55.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006723/0.3559, allocations: 2.096 MB / 495.4 MB, free: 55.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009317/0.3568, allocations: 0.5121 MB / 495.9 MB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007096/0.3639, allocations: 4.06 MB / 500 MB, free: 52.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.364, allocations: 52.48 kB / 0.4883 GB, free: 52.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.928e-06/0.364, allocations: 3.094 kB / 0.4883 GB, free: 52.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.02044/0.3844, allocations: 8.201 MB / 0.4963 GB, free: 49.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.3845, allocations: 198.7 kB / 0.4965 GB, free: 48.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006495/0.391, allocations: 4.439 MB / 0.5009 GB, free: 46.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.3912, allocations: 51.05 kB / 0.5009 GB, free: 46.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002137/0.3934, allocations: 3.668 MB / 0.5045 GB, free: 44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.394, allocations: 0.7097 MB / 0.5052 GB, free: 43.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/0.3957, allocations: 1.529 MB / 0.5067 GB, free: 42.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.3958, allocations: 480.7 kB / 0.5071 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3972, allocations: 0.656 MB / 0.5078 GB, free: 42.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/0.4009, allocations: 6.625 MB / 0.5142 GB, free: 34.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005667/0.4065, allocations: 7.921 MB / 0.522 GB, free: 25.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/0.4067, allocations: 39.47 kB / 0.522 GB, free: 25.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.009357/0.416, allocations: 5.253 MB / 0.5271 GB, free: 20.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.084e-05/0.4161, allocations: 67.94 kB / 0.5272 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.4162, allocations: 139.3 kB / 0.5273 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.4164, allocations: 184.1 kB / 0.5275 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.4201, allocations: 1.435 MB / 0.5289 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.4203, allocations: 269.2 kB / 0.5292 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/0.4246, allocations: 370.7 kB / 0.5295 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00047/0.4251, allocations: 378.4 kB / 0.5299 GB, free: 18.07 MB / 410.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.001907/0.427, allocations: 0.7724 MB / 0.5306 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006158/0.4276, allocations: 369.8 kB / 0.531 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005268/0.4281, allocations: 322.1 kB / 0.5313 GB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.4281, allocations: 16.19 kB / 0.5313 GB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.4282, allocations: 1.641 kB / 0.5313 GB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/0.4282, allocations: 14.59 kB / 0.5313 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009753/0.4379, allocations: 5.883 MB / 0.5371 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/0.438, allocations: 16 kB / 0.5371 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.439, allocations: 283.9 kB / 0.5374 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.439, allocations: 24 kB / 0.5374 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.4391, allocations: 47.56 kB / 0.5374 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-05/0.4391, allocations: 36.19 kB / 0.5375 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.4391, allocations: 28.31 kB / 0.5375 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.442, allocations: 2.627 MB / 0.5401 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008681/0.4429, allocations: 336.3 kB / 0.5404 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/0.4432, allocations: 54.62 kB / 0.5404 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.4445, allocations: 96.92 kB / 0.5405 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.4447, allocations: 153.4 kB / 0.5407 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.4448, allocations: 65.64 kB / 0.5407 GB, free: 7.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003106/0.4479, allocations: 1.795 MB / 0.5425 GB, free: 5.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4479, allocations: 0 / 0.5425 GB, free: 5.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00551/0.4534, allocations: 0.9817 MB / 0.5435 GB, free: 4.707 MB / 410.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.000457/0.4539, allocations: 206.2 kB / 0.5436 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005302/0.4592, allocations: 2.931 MB / 0.5465 GB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/0.4592, allocations: 5.75 kB / 0.5465 GB, free: 1.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.46, allocations: 0.5205 MB / 0.547 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.4629, allocations: 440.9 kB / 0.5474 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.4791, allocations: 7.765 MB / 0.555 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/0.4825, allocations: 2.395 MB / 0.5574 GB, free: 7.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004127/0.4866, allocations: 1.578 MB / 0.5589 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.4872, allocations: 228.4 kB / 0.5591 GB, free: 6 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/0.4872, allocations: 4 kB / 0.5591 GB, free: 5.996 MB / 426.7 MB Notification: Performance of Templates: time 0.05843/0.5457, allocations: 21.74 MB / 0.5804 GB, free: 0.8477 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.712118451949209]