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.001009/0.001009, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009791/0.0009791, allocations: 168.3 kB / 25.33 MB, free: 9.445 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 0.8629/0.8629, allocations: 158.6 MB / 187.2 MB, free: 2.562 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.374e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007984/0.008008, allocations: 10.01 MB / 261.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.01435, allocations: 3.717 MB / 264.8 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.01579, allocations: 63.69 kB / 264.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.01842, allocations: 2.094 MB / 266.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.02197, allocations: 1.769 MB / 268.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.02308, allocations: 0.6742 MB / 269.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003739/0.02682, allocations: 3.702 MB / 273.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.02984, allocations: 2.466 MB / 275.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.03286, allocations: 1.953 MB / 277.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.0355, allocations: 1.843 MB / 279.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.03635, allocations: 260 kB / 279.6 MB, free: 6.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.03813, allocations: 0.9751 MB / 280.6 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.03946, allocations: 1.702 MB / 282.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.04131, allocations: 1.055 MB / 283.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.04632, allocations: 3.853 MB / 287.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.04633, allocations: 4 kB / 287.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.04633, allocations: 0 / 287.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001554/0.04649, allocations: 0 / 287.2 MB, free: 15.27 MB / 282.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.007121/0.05361, allocations: 4.406 MB / 291.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.05367, allocations: 15.98 kB / 291.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/0.05761, allocations: 2.187 MB / 293.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.06034, allocations: 1.773 MB / 295.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.06046, allocations: 197 kB / 295.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/0.06086, allocations: 251.8 kB / 296 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008339/0.0692, allocations: 5.233 MB / 301.2 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.06931, allocations: 43.64 kB / 301.3 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.06959, allocations: 123.9 kB / 301.4 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1187/0.1882, allocations: 1.633 MB / 303 MB, free: 47.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006521/0.1948, allocations: 2.662 MB / 305.7 MB, free: 47.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01807/0.2128, allocations: 38.78 MB / 344.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.2156, allocations: 1.467 MB / 345.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.216, allocations: 401.1 kB / 346.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.2191, allocations: 3.396 MB / 349.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2191, allocations: 51.03 kB / 349.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=103): time 2.715e-06/0.2192, allocations: 0 / 349.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.007277/0.2264, allocations: 5.65 MB / 355.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2265, allocations: 141 kB / 355.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.2288, allocations: 3.281 MB / 358.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.2288, allocations: 41.7 kB / 358.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.2299, allocations: 3.077 MB / 362 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.2303, allocations: 487.8 kB / 362.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009634/0.2312, allocations: 1.164 MB / 363.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2314, allocations: 480.8 kB / 364.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/0.2322, allocations: 498.2 kB / 364.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/0.2355, allocations: 5.733 MB / 370.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/0.2411, allocations: 6.859 MB / 377.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.687e-05/0.2412, allocations: 39.94 kB / 377.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.006502/0.2477, allocations: 4.519 MB / 381.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.2478, allocations: 57 kB / 381.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.2479, allocations: 128 kB / 381.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.248, allocations: 168 kB / 382.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.2507, allocations: 1.24 MB / 383.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001701/0.2509, allocations: 247 kB / 383.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.2533, allocations: 315.6 kB / 383.8 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/0.2536, allocations: 336 kB / 384.2 MB, free: 4.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008138/0.2544, allocations: 0.6185 MB / 384.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.2548, allocations: 317.7 kB / 385.1 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.2557, allocations: 0.5939 MB / 385.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.2557, allocations: 12 kB / 385.7 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2557, allocations: 6.844 kB / 385.7 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2557, allocations: 3.984 kB / 385.7 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.2604, allocations: 3.253 MB / 389 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2604, allocations: 4 kB / 389 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.2609, allocations: 151.9 kB / 389.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.2611, allocations: 43.64 kB / 389.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.2611, allocations: 23.98 kB / 389.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.2623, allocations: 1.829 MB / 391 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2623, allocations: 4 kB / 391 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2639, allocations: 1.55 MB / 392.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.2644, allocations: 369.9 kB / 392.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.2646, allocations: 16 kB / 393 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.2653, allocations: 71.89 kB / 393 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2654, allocations: 55.84 kB / 393.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.2655, allocations: 28 kB / 393.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001754/0.2672, allocations: 1.396 MB / 394.5 MB, free: 9.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2672, allocations: 0 / 394.5 MB, free: 9.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002908/0.2701, allocations: 0.808 MB / 395.3 MB, free: 9.117 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003181/0.2705, allocations: 171.7 kB / 395.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.2733, allocations: 2.216 MB / 397.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2733, allocations: 4 kB / 397.7 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.2739, allocations: 465.9 kB / 398.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.2754, allocations: 344.4 kB / 398.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.2824, allocations: 5.809 MB / 404.3 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/0.2834, allocations: 1.001 MB / 405.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002546/0.2859, allocations: 1.442 MB / 406.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.2863, allocations: 184.5 kB / 406.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2863, allocations: 0 / 406.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Templates: time 0.0329/0.3192, allocations: 20.74 MB / 427.7 MB, free: 8.75 MB / 362.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8829269618727267]