Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 73.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 149.9 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 49.95 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08471/0.08627, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01163/0.09791, allocations: 9.019 MB / 380.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.1057, allocations: 3.596 MB / 384.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1068, allocations: 63.69 kB / 384.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.1105, allocations: 1.911 MB / 386.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.1141, allocations: 1.708 MB / 387.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.1154, allocations: 0.6082 MB / 388.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00392/0.1193, allocations: 3.326 MB / 391.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.1218, allocations: 2.114 MB / 393.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.1234, allocations: 1.269 MB / 395.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.1256, allocations: 1.728 MB / 396.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.126, allocations: 252 kB / 397.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.1277, allocations: 0.9284 MB / 398.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.1292, allocations: 1.616 MB / 399.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.1306, allocations: 1.351 MB / 401.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.1367, allocations: 5.871 MB / 406.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.1367, allocations: 4 kB / 406.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1367, allocations: 3.938 kB / 406.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.102e-05/0.1367, allocations: 0 / 406.9 MB, free: 3.797 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006643/0.1434, allocations: 4.048 MB / 411 MB, free: 15.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1434, allocations: 12.03 kB / 411 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006344/0.1498, allocations: 1.835 MB / 412.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.1534, allocations: 1.897 MB / 414.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.1536, allocations: 196.8 kB / 414.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/0.154, allocations: 251.8 kB / 415.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.1665, allocations: 8.46 MB / 423.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.1666, allocations: 43.64 kB / 423.7 MB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.167, allocations: 123.9 kB / 423.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.1698, allocations: 1.695 MB / 425.5 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.1826, allocations: 7.071 MB / 432.6 MB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03727/0.2199, allocations: 32.14 MB / 464.7 MB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007425/0.2273, allocations: 2.817 MB / 467.5 MB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.2292, allocations: 1.357 MB / 468.9 MB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005709/0.2349, allocations: 3.322 MB / 472.2 MB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.2349, allocations: 51.16 kB / 472.3 MB, free: 0.6133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.066e-06/0.2349, allocations: 0 / 472.3 MB, free: 0.6133 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.1981/0.433, allocations: 11.76 MB / 484 MB, free: 88.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4331, allocations: 144.1 kB / 484.1 MB, free: 87.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.4364, allocations: 3.441 MB / 487.6 MB, free: 86.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.4365, allocations: 41.67 kB / 487.6 MB, free: 86.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.4375, allocations: 2.89 MB / 490.5 MB, free: 84.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.4378, allocations: 0.5424 MB / 491.1 MB, free: 84.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009425/0.4388, allocations: 1.088 MB / 492.2 MB, free: 83.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.4388, allocations: 301.1 kB / 492.4 MB, free: 83.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.4406, allocations: 1.703 MB / 494.1 MB, free: 82.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/0.4434, allocations: 5.129 MB / 499.3 MB, free: 77.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.4483, allocations: 7.412 MB / 0.4948 GB, free: 68.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.455e-05/0.4484, allocations: 36 kB / 0.4948 GB, free: 68.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007718/0.4561, allocations: 6.7 MB / 0.5014 GB, free: 61.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.4562, allocations: 60 kB / 0.5014 GB, free: 61.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.418e-05/0.4563, allocations: 124.2 kB / 0.5016 GB, free: 61.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.4568, allocations: 316.7 kB / 0.5019 GB, free: 61.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.4599, allocations: 1.248 MB / 0.5031 GB, free: 60.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.4618, allocations: 2.363 MB / 0.5054 GB, free: 57.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.4648, allocations: 284.9 kB / 0.5057 GB, free: 57.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.4651, allocations: 332 kB / 0.506 GB, free: 57.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001845/0.467, allocations: 1.79 MB / 0.5077 GB, free: 55.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.4673, allocations: 288.9 kB / 0.508 GB, free: 55.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.4712, allocations: 2.32 MB / 0.5103 GB, free: 52.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4712, allocations: 16 kB / 0.5103 GB, free: 52.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4712, allocations: 6.109 kB / 0.5103 GB, free: 52.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.4712, allocations: 3.984 kB / 0.5103 GB, free: 52.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007989/0.4792, allocations: 5.118 MB / 0.5153 GB, free: 47.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4792, allocations: 0 / 0.5153 GB, free: 47.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.4799, allocations: 175.8 kB / 0.5155 GB, free: 47.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.4819, allocations: 0.7146 MB / 0.5162 GB, free: 46.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.482, allocations: 28 kB / 0.5162 GB, free: 46.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/0.4866, allocations: 4.646 MB / 0.5207 GB, free: 41.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4866, allocations: 0 / 0.5207 GB, free: 41.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/0.492, allocations: 4.294 MB / 0.5249 GB, free: 37.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.4925, allocations: 253.9 kB / 0.5252 GB, free: 37.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.4928, allocations: 23.88 kB / 0.5252 GB, free: 37.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/0.4937, allocations: 63.91 kB / 0.5252 GB, free: 37.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.4939, allocations: 76.45 kB / 0.5253 GB, free: 37.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.494, allocations: 39.52 kB / 0.5254 GB, free: 37.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002116/0.4961, allocations: 1.96 MB / 0.5273 GB, free: 35.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4961, allocations: 4 kB / 0.5273 GB, free: 35.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00357/0.4997, allocations: 0.8162 MB / 0.5281 GB, free: 34.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.4999, allocations: 150.7 kB / 0.5282 GB, free: 34.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004314/0.5042, allocations: 3.889 MB / 0.532 GB, free: 30.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5042, allocations: 0 / 0.532 GB, free: 30.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5053, allocations: 1.03 MB / 0.533 GB, free: 29.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.507, allocations: 348.4 kB / 0.5333 GB, free: 28.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008828/0.5158, allocations: 7.372 MB / 0.5405 GB, free: 21.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.5179, allocations: 2.243 MB / 0.5427 GB, free: 19.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002821/0.5207, allocations: 1.61 MB / 0.5443 GB, free: 17.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.5211, allocations: 196.5 kB / 0.5445 GB, free: 17.46 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5211, allocations: 0 / 0.5445 GB, free: 17.46 MB / 430.1 MB Notification: Performance of Templates: time 0.04546/0.5666, allocations: 24.39 MB / 0.5683 GB, free: 9.531 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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: 5.759143286966719]