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.001495/0.001495, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001503/0.001503, allocations: 167.1 kB / 25.02 MB, free: 8.949 MB / 18.57 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.408/1.408, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.273e-05, allocations: 6.109 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01311/0.01314, allocations: 9.042 MB / 259.4 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.02188, allocations: 3.6 MB / 263 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.02325, allocations: 67.69 kB / 263.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004378/0.02763, allocations: 2.024 MB / 265.1 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.03204, allocations: 1.773 MB / 266.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.03354, allocations: 0.6547 MB / 267.5 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00527/0.03881, allocations: 3.711 MB / 271.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.04216, allocations: 2.469 MB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.04504, allocations: 1.914 MB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.04798, allocations: 1.82 MB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.04844, allocations: 260 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.05031, allocations: 0.9828 MB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.05225, allocations: 1.687 MB / 280.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.05372, allocations: 1.044 MB / 281.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.06166, allocations: 5.871 MB / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.06166, allocations: 0 / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.06166, allocations: 0 / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.06177, allocations: 0 / 287.3 MB, free: 2.734 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.008273/0.07004, allocations: 4.065 MB / 291.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.07009, allocations: 19.92 kB / 291.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007484/0.07757, allocations: 2.241 MB / 293.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.08162, allocations: 1.93 MB / 295.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.08183, allocations: 197 kB / 295.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005356/0.08236, allocations: 255.8 kB / 296 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.09834, allocations: 8.456 MB / 304.4 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.09844, allocations: 43.58 kB / 304.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003821/0.09883, allocations: 123.9 kB / 304.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003492/0.1023, allocations: 1.691 MB / 306.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.1179, allocations: 7.071 MB / 313.4 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04893/0.1669, allocations: 32.31 MB / 345.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/0.1749, allocations: 2.816 MB / 348.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/0.1775, allocations: 1.365 MB / 349.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1267/0.3042, allocations: 3.464 MB / 353.3 MB, free: 101.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3043, allocations: 46.12 kB / 353.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.617e-06/0.3043, allocations: 0 / 353.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.02452/0.3288, allocations: 11.92 MB / 365.3 MB, free: 97.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3288, allocations: 141.2 kB / 365.4 MB, free: 96.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.3321, allocations: 3.566 MB / 369 MB, free: 93.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/0.3322, allocations: 45.7 kB / 369 MB, free: 93.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.3331, allocations: 2.852 MB / 371.9 MB, free: 91.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.3335, allocations: 0.5388 MB / 372.4 MB, free: 90.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009098/0.3344, allocations: 1.074 MB / 373.5 MB, free: 89.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.3344, allocations: 309.1 kB / 373.8 MB, free: 89.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.3361, allocations: 1.704 MB / 375.5 MB, free: 87.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.3391, allocations: 5.125 MB / 380.6 MB, free: 80.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00513/0.3442, allocations: 7.415 MB / 388 MB, free: 71.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/0.3443, allocations: 36 kB / 388.1 MB, free: 71.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008102/0.3524, allocations: 6.983 MB / 395.1 MB, free: 64.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.3524, allocations: 60 kB / 395.1 MB, free: 64.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/0.3525, allocations: 124.7 kB / 395.2 MB, free: 64.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.3532, allocations: 416.6 kB / 395.6 MB, free: 63.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.3562, allocations: 1.243 MB / 396.9 MB, free: 62.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.358, allocations: 2.364 MB / 399.3 MB, free: 60.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.3611, allocations: 327.6 kB / 399.6 MB, free: 59.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.3614, allocations: 332 kB / 399.9 MB, free: 59.55 MB / 330.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.001836/0.3633, allocations: 1.785 MB / 401.7 MB, free: 57.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.3637, allocations: 322.1 kB / 402 MB, free: 57.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.3674, allocations: 2.316 MB / 404.3 MB, free: 55.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.3674, allocations: 24.95 kB / 404.3 MB, free: 55.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3674, allocations: 4 kB / 404.3 MB, free: 55.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3674, allocations: 4.859 kB / 404.3 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008804/0.3762, allocations: 5.19 MB / 409.5 MB, free: 49.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3762, allocations: 0 / 409.5 MB, free: 49.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.377, allocations: 171.3 kB / 409.7 MB, free: 49.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.3789, allocations: 0.7303 MB / 410.4 MB, free: 48.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.382e-05/0.379, allocations: 28 kB / 410.5 MB, free: 48.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.3837, allocations: 4.702 MB / 415.2 MB, free: 44.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3837, allocations: 0 / 415.2 MB, free: 44.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.3893, allocations: 4.332 MB / 419.5 MB, free: 39.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.3906, allocations: 461.8 kB / 419.9 MB, free: 39.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.3909, allocations: 19.59 kB / 420 MB, free: 39.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.392, allocations: 99.84 kB / 420.1 MB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.3922, allocations: 80.45 kB / 420.1 MB, free: 39.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.3923, allocations: 28 kB / 420.2 MB, free: 39.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002299/0.3946, allocations: 2.065 MB / 422.2 MB, free: 37.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3946, allocations: 0 / 422.2 MB, free: 37.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004127/0.3987, allocations: 0.8983 MB / 423.1 MB, free: 36.13 MB / 330.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.0003976/0.3991, allocations: 186.4 kB / 423.3 MB, free: 35.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004732/0.4038, allocations: 3.892 MB / 427.2 MB, free: 32.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.4038, allocations: 0 / 427.2 MB, free: 32.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.405, allocations: 1.036 MB / 428.2 MB, free: 31.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.407, allocations: 362.8 kB / 428.6 MB, free: 30.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009059/0.4161, allocations: 7.433 MB / 436 MB, free: 23.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.418, allocations: 2.246 MB / 438.3 MB, free: 20.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002891/0.4209, allocations: 1.611 MB / 439.9 MB, free: 19.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.4214, allocations: 192.5 kB / 440.1 MB, free: 19.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4214, allocations: 0 / 440.1 MB, free: 19.12 MB / 330.7 MB Notification: Performance of Templates: time 0.04436/0.4658, allocations: 26.14 MB / 466.2 MB, free: 9.055 MB / 346.7 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/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.945939496974461]