Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001924/0.001924, allocations: 85.22 kB / 22 MB, free: 5.176 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.002256/0.002256, allocations: 161.8 kB / 25.25 MB, free: 3.027 MB / 14.72 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.286/1.286, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 62.95 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2094, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01106/0.2205, allocations: 9.02 MB / 357.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006729/0.2272, allocations: 3.609 MB / 361.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.2279, allocations: 67.62 kB / 361.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.2315, allocations: 1.908 MB / 363.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.235, allocations: 1.708 MB / 364.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.2363, allocations: 0.6082 MB / 365.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.2408, allocations: 3.346 MB / 368.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.2434, allocations: 2.118 MB / 370.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.2451, allocations: 1.273 MB / 372.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.2477, allocations: 1.728 MB / 373.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.2482, allocations: 256 kB / 374.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.25, allocations: 0.9322 MB / 375.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.2515, allocations: 1.613 MB / 376.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.253, allocations: 1.347 MB / 378 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.2591, allocations: 5.873 MB / 383.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2591, allocations: 0 / 383.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2591, allocations: 0 / 383.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.391e-05/0.2592, allocations: 0 / 383.9 MB, free: 11.94 MB / 350.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.007411/0.2666, allocations: 4.053 MB / 388 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2666, allocations: 11.98 kB / 388 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006528/0.2732, allocations: 1.839 MB / 389.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.2773, allocations: 1.962 MB / 391.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.2775, allocations: 184.8 kB / 392 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004894/0.278, allocations: 259.8 kB / 392.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.2913, allocations: 8.448 MB / 400.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-05/0.2914, allocations: 39.64 kB / 400.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.2917, allocations: 131.9 kB / 400.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.2946, allocations: 1.691 MB / 402.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.3085, allocations: 7.075 MB / 409.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0406/0.3491, allocations: 32.15 MB / 441.8 MB, free: 332 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/0.357, allocations: 2.82 MB / 444.6 MB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/0.359, allocations: 1.361 MB / 445.9 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006229/0.3653, allocations: 3.31 MB / 449.2 MB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.3653, allocations: 55.09 kB / 449.3 MB, free: 8.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.937e-06/0.3653, allocations: 0 / 449.3 MB, free: 8.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.04445/0.4098, allocations: 11.78 MB / 461.1 MB, free: 12.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.4099, allocations: 145.2 kB / 461.2 MB, free: 12.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006958/0.4169, allocations: 3.443 MB / 464.7 MB, free: 9.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.4172, allocations: 45.7 kB / 464.7 MB, free: 9.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/0.4204, allocations: 2.886 MB / 467.6 MB, free: 6.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00083/0.4212, allocations: 0.5467 MB / 468.1 MB, free: 5.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/0.4232, allocations: 1.088 MB / 469.2 MB, free: 4.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4234, allocations: 301.1 kB / 469.5 MB, free: 4.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.4262, allocations: 1.705 MB / 471.2 MB, free: 2.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1749/0.6011, allocations: 5.12 MB / 476.4 MB, free: 104.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007209/0.6083, allocations: 7.424 MB / 483.8 MB, free: 98.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/0.6085, allocations: 34.56 kB / 483.8 MB, free: 98.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01164/0.6201, allocations: 6.698 MB / 490.5 MB, free: 95.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.6202, allocations: 56.09 kB / 490.6 MB, free: 95.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002373/0.6205, allocations: 122 kB / 490.7 MB, free: 95.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/0.6211, allocations: 326.8 kB / 491 MB, free: 95.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.6248, allocations: 1.247 MB / 492.2 MB, free: 95.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.6269, allocations: 2.365 MB / 494.6 MB, free: 93.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/0.6306, allocations: 286.7 kB / 494.9 MB, free: 93.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/0.6311, allocations: 331.7 kB / 495.2 MB, free: 93.05 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.002157/0.6333, allocations: 1.784 MB / 497 MB, free: 91.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/0.6336, allocations: 298.8 kB / 497.3 MB, free: 91.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.6375, allocations: 2.315 MB / 499.6 MB, free: 89.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.6375, allocations: 12 kB / 499.6 MB, free: 89.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.6375, allocations: 4 kB / 499.6 MB, free: 89.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6375, allocations: 7.453 kB / 499.6 MB, free: 89.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008098/0.6456, allocations: 5.123 MB / 0.4929 GB, free: 85.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6456, allocations: 4 kB / 0.4929 GB, free: 85.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008199/0.6464, allocations: 177.9 kB / 0.4931 GB, free: 85.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.6484, allocations: 0.7127 MB / 0.4938 GB, free: 84.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.892e-05/0.6485, allocations: 23.94 kB / 0.4938 GB, free: 84.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004595/0.6531, allocations: 4.636 MB / 0.4983 GB, free: 79.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6531, allocations: 7.984 kB / 0.4983 GB, free: 79.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/0.6586, allocations: 4.289 MB / 0.5025 GB, free: 75.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009974/0.6596, allocations: 429.7 kB / 0.5029 GB, free: 75.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.6598, allocations: 16 kB / 0.503 GB, free: 75.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00098/0.6608, allocations: 76.16 kB / 0.503 GB, free: 75.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.661, allocations: 79.98 kB / 0.5031 GB, free: 74.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/0.6611, allocations: 40 kB / 0.5031 GB, free: 74.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002088/0.6632, allocations: 1.971 MB / 0.5051 GB, free: 72.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6632, allocations: 2.625 kB / 0.5051 GB, free: 72.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003521/0.6667, allocations: 0.8096 MB / 0.5059 GB, free: 72.16 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.0002728/0.6669, allocations: 152.9 kB / 0.506 GB, free: 72.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004736/0.6717, allocations: 3.896 MB / 0.5098 GB, free: 68.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.6717, allocations: 0 / 0.5098 GB, free: 68.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6728, allocations: 1.033 MB / 0.5108 GB, free: 67.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.6744, allocations: 335.9 kB / 0.5111 GB, free: 66.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.6838, allocations: 7.398 MB / 0.5184 GB, free: 59.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.686, allocations: 2.237 MB / 0.5206 GB, free: 57.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003064/0.689, allocations: 1.607 MB / 0.5221 GB, free: 55.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.6895, allocations: 196.5 kB / 0.5223 GB, free: 55.28 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6895, allocations: 1.969 kB / 0.5223 GB, free: 55.28 MB / 430.1 MB Notification: Performance of Templates: time 0.04353/0.733, allocations: 24.42 MB / 0.5462 GB, free: 30.88 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.832976648933254]