Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001041/0.001041, allocations: 85.95 kB / 22.21 MB, free: 2.293 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.00109/0.00109, allocations: 160.2 kB / 25.6 MB, free: 8.594 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.9446/0.9446, allocations: 158.6 MB / 187.5 MB, free: 2.82 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.512e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.009039/0.009064, allocations: 10.12 MB / 261.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.01764, allocations: 3.827 MB / 265.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.01904, allocations: 75.62 kB / 265.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.02208, allocations: 2.737 MB / 268.2 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.02579, allocations: 1.878 MB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.02682, allocations: 0.7367 MB / 270.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.02982, allocations: 4.062 MB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.03211, allocations: 3.089 MB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.03411, allocations: 2.268 MB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.0369, allocations: 2.128 MB / 282.4 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.03858, allocations: 320 kB / 282.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.04094, allocations: 1.123 MB / 283.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.04276, allocations: 1.971 MB / 285.8 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.04496, allocations: 1.25 MB / 287.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.05056, allocations: 4.394 MB / 291.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.05056, allocations: 0 / 291.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.05057, allocations: 0 / 291.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002268/0.05079, allocations: 0 / 291.4 MB, free: 15.09 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006908/0.0577, allocations: 4.864 MB / 296.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.05775, allocations: 11.98 kB / 296.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/0.06175, allocations: 1.453 MB / 297.8 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.06454, allocations: 1.702 MB / 299.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.06472, allocations: 254.4 kB / 299.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006812/0.0654, allocations: 379.7 kB / 300.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009545/0.07494, allocations: 5.778 MB / 305.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.07504, allocations: 35.64 kB / 305.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/0.07538, allocations: 159.8 kB / 306.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001872/0.07725, allocations: 1.685 MB / 307.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0078/0.08505, allocations: 2.762 MB / 310.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1717/0.2567, allocations: 43.44 MB / 354 MB, free: 88.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004657/0.2614, allocations: 2.425 MB / 356.4 MB, free: 88.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.262, allocations: 497.4 kB / 356.9 MB, free: 88.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005003/0.267, allocations: 4.2 MB / 361.1 MB, free: 87.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.267, allocations: 55.7 kB / 361.1 MB, free: 87.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.817e-06/0.267, allocations: 0 / 361.1 MB, free: 87.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01326/0.2803, allocations: 6.106 MB / 367.2 MB, free: 86.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006067/0.2809, allocations: 2.003 MB / 369.2 MB, free: 84.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.2835, allocations: 3.422 MB / 372.7 MB, free: 83.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.2835, allocations: 43.52 kB / 372.7 MB, free: 82.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.2846, allocations: 3.426 MB / 376.1 MB, free: 80.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.285, allocations: 0.6987 MB / 376.8 MB, free: 79.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009087/0.2859, allocations: 1.373 MB / 378.2 MB, free: 78.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.2859, allocations: 480.8 kB / 378.7 MB, free: 78.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.2868, allocations: 0.6326 MB / 379.3 MB, free: 77.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.289, allocations: 6.506 MB / 385.8 MB, free: 69.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/0.293, allocations: 7.872 MB / 393.7 MB, free: 58.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.089e-05/0.293, allocations: 40 kB / 393.7 MB, free: 58.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.00804/0.3011, allocations: 5.754 MB / 399.5 MB, free: 53.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.3011, allocations: 65.64 kB / 399.5 MB, free: 53.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003601/0.3047, allocations: 1.435 MB / 401 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/0.309, allocations: 1.112 MB / 402.1 MB, free: 50.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.3112, allocations: 1.329 MB / 403.4 MB, free: 49.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.3142, allocations: 5.268 MB / 408.7 MB, free: 43.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.317, allocations: 275.7 kB / 408.9 MB, free: 43.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.3173, allocations: 350.8 kB / 409.3 MB, free: 42.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001083/0.3184, allocations: 0.6797 MB / 410 MB, free: 42.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.3188, allocations: 357.9 kB / 410.3 MB, free: 41.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.321, allocations: 1.562 MB / 411.9 MB, free: 40.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001735/0.3227, allocations: 1.136 MB / 413 MB, free: 39.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3227, allocations: 4 kB / 413 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.3227, allocations: 7.969 kB / 413 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00647/0.3292, allocations: 4.914 MB / 417.9 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3292, allocations: 0 / 417.9 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.3296, allocations: 161.1 kB / 418.1 MB, free: 33.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.3318, allocations: 0.8899 MB / 419 MB, free: 33.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.3319, allocations: 39.97 kB / 419 MB, free: 33.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.334, allocations: 4.994 MB / 424 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003998/0.3344, allocations: 1.873 MB / 425.9 MB, free: 25.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.3374, allocations: 2.515 MB / 428.4 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.338, allocations: 297.6 kB / 428.7 MB, free: 22.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.3382, allocations: 31.98 kB / 428.7 MB, free: 22.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.3388, allocations: 31.28 kB / 428.8 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.339, allocations: 100.8 kB / 428.9 MB, free: 22.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.3391, allocations: 35.98 kB / 428.9 MB, free: 22.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.3402, allocations: 1.332 MB / 430.2 MB, free: 21.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3402, allocations: 0 / 430.2 MB, free: 21.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003204/0.3435, allocations: 1.117 MB / 431.3 MB, free: 20.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003019/0.3438, allocations: 191 kB / 431.5 MB, free: 20.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004071/0.3478, allocations: 3.271 MB / 434.8 MB, free: 16.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3478, allocations: 4 kB / 434.8 MB, free: 16.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.3497, allocations: 1.096 MB / 435.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.3514, allocations: 367.1 kB / 436.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.3609, allocations: 7.384 MB / 443.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.3618, allocations: 1.161 MB / 444.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001249/0.3631, allocations: 463 kB / 445.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/0.3637, allocations: 0.5371 MB / 445.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3637, allocations: 0 / 445.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of Templates: time 0.05132/0.4151, allocations: 35.91 MB / 481.7 MB, free: 1.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.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.9531493172980845]