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.001529/0.001529, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001567/0.001567, 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.517/1.517, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 2.504e-06/2.504e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.923e-05/4.174e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02448/0.02453, allocations: 8.981 MB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.03997, allocations: 3.61 MB / 284.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.04324, allocations: 63.69 kB / 285 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008597/0.05183, allocations: 2.028 MB / 287 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00934/0.06117, allocations: 1.738 MB / 288.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.06466, allocations: 0.6664 MB / 289.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1548/0.2195, allocations: 3.735 MB / 293.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/0.2238, allocations: 2.445 MB / 295.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.2282, allocations: 1.893 MB / 297.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.2314, allocations: 1.812 MB / 299.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009617/0.2324, allocations: 259.4 kB / 299.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.2344, allocations: 0.9647 MB / 300.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.2358, allocations: 1.666 MB / 302.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.2373, allocations: 1.034 MB / 303.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004872/0.2422, allocations: 5.816 MB / 309 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2422, allocations: 0.8125 kB / 309 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2422, allocations: 0 / 309 MB, free: 9.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.654e-05/0.2423, allocations: 3.984 kB / 309 MB, free: 9.977 MB / 266.7 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.006113/0.2484, allocations: 4.037 MB / 313.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2484, allocations: 8.031 kB / 313.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006239/0.2547, allocations: 2.243 MB / 315.3 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.2578, allocations: 1.874 MB / 317.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.258, allocations: 199.1 kB / 317.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004349/0.2584, allocations: 261.6 kB / 317.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.2729, allocations: 8.466 MB / 326.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.273, allocations: 46.12 kB / 326.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/0.2733, allocations: 125.9 kB / 326.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003204/0.2765, allocations: 1.698 MB / 328 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.2917, allocations: 7.085 MB / 335.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/0.3382, allocations: 32.3 MB / 367.4 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/0.3463, allocations: 2.826 MB / 370.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.3485, allocations: 1.354 MB / 371.5 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007325/0.3558, allocations: 3.475 MB / 375 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.3559, allocations: 46.5 kB / 375.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.787e-06/0.3559, allocations: 0 / 375.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.03362/0.3895, allocations: 11.94 MB / 387 MB, free: 12.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.3896, allocations: 145.2 kB / 387.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/0.3955, allocations: 3.513 MB / 390.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.3958, allocations: 41.7 kB / 390.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.3984, allocations: 2.841 MB / 393.5 MB, free: 5.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007985/0.3992, allocations: 0.5434 MB / 394.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.4008, allocations: 1.067 MB / 395.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.401, allocations: 309.1 kB / 395.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.4041, allocations: 1.709 MB / 397.2 MB, free: 2.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006657/0.4107, allocations: 5.132 MB / 402.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.4213, allocations: 7.416 MB / 409.7 MB, free: 2.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.4215, allocations: 36 kB / 409.7 MB, free: 2.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01317/0.4346, allocations: 6.991 MB / 416.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/0.4347, allocations: 64.02 kB / 416.8 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/0.4349, allocations: 124 kB / 416.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009535/0.4358, allocations: 408.5 kB / 417.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.4397, allocations: 1.252 MB / 418.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.4428, allocations: 2.363 MB / 420.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/0.4462, allocations: 327.6 kB / 421.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004975/0.4467, allocations: 332 kB / 421.6 MB, free: 6.508 MB / 378.7 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.003066/0.4497, allocations: 1.791 MB / 423.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/0.4504, allocations: 320.5 kB / 423.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005141/0.4555, allocations: 2.32 MB / 426 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/0.4555, allocations: 16 kB / 426 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.4556, allocations: 7.938 kB / 426 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4556, allocations: 7.922 kB / 426 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.145/0.6005, allocations: 5.163 MB / 431.2 MB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.6006, allocations: 2.781 kB / 431.2 MB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/0.6014, allocations: 175.8 kB / 431.4 MB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.6038, allocations: 0.731 MB / 432.1 MB, free: 118.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.6039, allocations: 24.42 kB / 432.1 MB, free: 118.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005687/0.6096, allocations: 4.708 MB / 436.8 MB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6096, allocations: 2.281 kB / 436.8 MB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006175/0.6158, allocations: 4.343 MB / 441.2 MB, free: 114.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.6165, allocations: 284.8 kB / 441.5 MB, free: 114 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.6168, allocations: 17.42 kB / 441.5 MB, free: 114 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.618, allocations: 94.77 kB / 441.6 MB, free: 114 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.6182, allocations: 77.98 kB / 441.6 MB, free: 114 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/0.6183, allocations: 33.25 kB / 441.7 MB, free: 114 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002718/0.621, allocations: 2.031 MB / 443.7 MB, free: 113.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.621, allocations: 4.906 kB / 443.7 MB, free: 113.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003857/0.6248, allocations: 0.8724 MB / 444.6 MB, free: 113.2 MB / 378.7 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.0003925/0.6252, allocations: 167.5 kB / 444.7 MB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004751/0.63, allocations: 3.909 MB / 448.7 MB, free: 111.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.63, allocations: 0 / 448.7 MB, free: 111.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.6312, allocations: 1.028 MB / 449.7 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.6331, allocations: 356.8 kB / 450 MB, free: 111.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009115/0.6422, allocations: 7.416 MB / 457.4 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/0.6443, allocations: 2.231 MB / 459.7 MB, free: 105.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002803/0.6471, allocations: 1.621 MB / 461.3 MB, free: 103.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.6476, allocations: 192.5 kB / 461.5 MB, free: 103.4 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6476, allocations: 0 / 461.5 MB, free: 103.4 MB / 378.7 MB Notification: Performance of Templates: time 0.04217/0.6898, allocations: 25.75 MB / 487.2 MB, free: 78.14 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/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: 6.1838246890110895]