Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001585/0.001585, allocations: 107 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001731/0.001731, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 51.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2095, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01196/0.2214, allocations: 8.987 MB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007282/0.2287, allocations: 3.604 MB / 444.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008395/0.2296, allocations: 63.69 kB / 445 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.2333, allocations: 1.904 MB / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.2365, allocations: 1.681 MB / 448.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2376, allocations: 0.616 MB / 449.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003726/0.2413, allocations: 3.357 MB / 452.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.2437, allocations: 2.116 MB / 454.7 MB, free: 252 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.2451, allocations: 1.265 MB / 455.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.2472, allocations: 1.81 MB / 457.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.2476, allocations: 252 kB / 458 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.2492, allocations: 0.94 MB / 458.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.2507, allocations: 1.593 MB / 460.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.2521, allocations: 1.328 MB / 461.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005871/0.2579, allocations: 5.824 MB / 467.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2579, allocations: 0 / 467.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2579, allocations: 0 / 467.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.258, allocations: 0 / 467.7 MB, free: 3.191 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.006655/0.2646, allocations: 4.022 MB / 471.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2647, allocations: 16.02 kB / 471.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/0.271, allocations: 1.796 MB / 473.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.2749, allocations: 1.872 MB / 475.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.2751, allocations: 192.8 kB / 475.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004996/0.2756, allocations: 255.8 kB / 475.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.2884, allocations: 8.468 MB / 484.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.165e-05/0.2885, allocations: 39.64 kB / 484.3 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003359/0.2888, allocations: 127.9 kB / 484.4 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002989/0.2918, allocations: 1.691 MB / 486.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.3043, allocations: 7.098 MB / 493.2 MB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.3419, allocations: 32.06 MB / 0.513 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/0.3492, allocations: 2.724 MB / 0.5156 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3511, allocations: 1.371 MB / 0.517 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006276/0.3574, allocations: 3.301 MB / 0.5202 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3574, allocations: 51.16 kB / 0.5203 GB, free: 272 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.357e-06/0.3574, allocations: 0 / 0.5203 GB, free: 272 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02895/0.3864, allocations: 11.53 MB / 0.5315 GB, free: 4.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.3865, allocations: 141.2 kB / 0.5316 GB, free: 4.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.391, allocations: 3.419 MB / 0.535 GB, free: 1.066 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3911, allocations: 41.7 kB / 0.535 GB, free: 1.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1729/0.5639, allocations: 2.878 MB / 0.5378 GB, free: 101.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/0.5646, allocations: 0.5434 MB / 0.5384 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001895/0.5665, allocations: 1.085 MB / 0.5394 GB, free: 101 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.5665, allocations: 309.1 kB / 0.5397 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.5691, allocations: 1.71 MB / 0.5414 GB, free: 100.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/0.5726, allocations: 5.139 MB / 0.5464 GB, free: 94.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005266/0.5778, allocations: 7.428 MB / 0.5537 GB, free: 88.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.281e-05/0.5779, allocations: 34.75 kB / 0.5537 GB, free: 88.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007577/0.5855, allocations: 6.71 MB / 0.5602 GB, free: 84.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.5855, allocations: 56 kB / 0.5603 GB, free: 84.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.616e-05/0.5856, allocations: 126.5 kB / 0.5604 GB, free: 84.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.5861, allocations: 317.7 kB / 0.5607 GB, free: 84.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/0.5893, allocations: 1.242 MB / 0.5619 GB, free: 82.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.5911, allocations: 2.359 MB / 0.5642 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.5938, allocations: 288.3 kB / 0.5645 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.5941, allocations: 339.5 kB / 0.5648 GB, free: 80.11 MB / 446.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.00165/0.5957, allocations: 1.79 MB / 0.5666 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.596, allocations: 290 kB / 0.5669 GB, free: 78.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.5998, allocations: 2.325 MB / 0.5691 GB, free: 76.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.5998, allocations: 12 kB / 0.5691 GB, free: 76.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5998, allocations: 4 kB / 0.5692 GB, free: 76.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5999, allocations: 7.984 kB / 0.5692 GB, free: 76.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/0.6079, allocations: 5.101 MB / 0.5741 GB, free: 71.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6079, allocations: 4 kB / 0.5741 GB, free: 71.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.6086, allocations: 171.8 kB / 0.5743 GB, free: 71.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.6106, allocations: 0.7108 MB / 0.575 GB, free: 70.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.6107, allocations: 23.98 kB / 0.575 GB, free: 70.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004371/0.6151, allocations: 4.647 MB / 0.5796 GB, free: 65.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6151, allocations: 4.094 kB / 0.5796 GB, free: 65.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005208/0.6203, allocations: 4.305 MB / 0.5838 GB, free: 61.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.6207, allocations: 251.4 kB / 0.584 GB, free: 61.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.6209, allocations: 20 kB / 0.584 GB, free: 61.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009431/0.6219, allocations: 71.84 kB / 0.5841 GB, free: 61.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.6221, allocations: 73.98 kB / 0.5842 GB, free: 60.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-05/0.6221, allocations: 32 kB / 0.5842 GB, free: 60.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.6241, allocations: 1.963 MB / 0.5861 GB, free: 58.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6241, allocations: 0 / 0.5861 GB, free: 58.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003396/0.6275, allocations: 0.7961 MB / 0.5869 GB, free: 58.17 MB / 446.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.0002649/0.6277, allocations: 149.5 kB / 0.587 GB, free: 58.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.6318, allocations: 3.918 MB / 0.5909 GB, free: 54.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6318, allocations: 0 / 0.5909 GB, free: 54.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6329, allocations: 1.03 MB / 0.5919 GB, free: 53.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.6345, allocations: 337.3 kB / 0.5922 GB, free: 52.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008196/0.6427, allocations: 7.389 MB / 0.5994 GB, free: 45.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.6446, allocations: 2.22 MB / 0.6016 GB, free: 43.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002733/0.6474, allocations: 1.618 MB / 0.6032 GB, free: 41.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.6478, allocations: 199.3 kB / 0.6033 GB, free: 41.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6478, allocations: 0 / 0.6033 GB, free: 41.28 MB / 446.1 MB Notification: Performance of Templates: time 0.0432/0.691, allocations: 30.26 MB / 0.6329 GB, free: 11.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.682134964008583]