Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001367/0.001367, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0016/0.0016, allocations: 158.9 kB / 25.75 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 0.8942/0.8942, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.133e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01126/0.01129, allocations: 13.13 MB / 264.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02146, allocations: 4.769 MB / 269 MB, free: 5.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.0238, allocations: 103.5 kB / 269.1 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005331/0.02913, allocations: 4.509 MB / 273.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.03426, allocations: 2.286 MB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.03654, allocations: 1.232 MB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006956/0.04349, allocations: 6.314 MB / 283.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005972/0.04946, allocations: 4.733 MB / 288.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005988/0.05545, allocations: 3.317 MB / 291.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.05992, allocations: 3.223 MB / 294.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.06107, allocations: 0.5039 MB / 295.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.06344, allocations: 1.592 MB / 296.8 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00233/0.06577, allocations: 2.809 MB / 299.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.06866, allocations: 1.772 MB / 301.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007261/0.07592, allocations: 6.151 MB / 307.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.07593, allocations: 0 / 307.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07593, allocations: 0 / 307.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001795/0.07611, allocations: 0 / 307.6 MB, free: 15.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.008654/0.08476, allocations: 6.6 MB / 314.2 MB, free: 8.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0003239/0.08508, allocations: 11.98 kB / 314.2 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006783/0.09187, allocations: 3.2 MB / 317.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005059/0.09693, allocations: 3.377 MB / 320.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.09711, allocations: 316.2 kB / 321 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009984/0.09811, allocations: 444.4 kB / 321.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.1103, allocations: 7.576 MB / 329.1 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.1105, allocations: 51.53 kB / 329.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004626/0.1109, allocations: 195.8 kB / 329.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002032/0.113, allocations: 2.031 MB / 331.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.1236, allocations: 4.279 MB / 335.6 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1692/0.2928, allocations: 47.15 MB / 382.8 MB, free: 63.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006412/0.2992, allocations: 3.019 MB / 385.8 MB, free: 63.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.3, allocations: 0.6996 MB / 386.5 MB, free: 63.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005088/0.3051, allocations: 4.63 MB / 391.1 MB, free: 61.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3051, allocations: 57.11 kB / 391.2 MB, free: 61.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=179): time 3.997e-06/0.3052, allocations: 0 / 391.2 MB, free: 61.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=223): time 0.02942/0.3346, allocations: 15.58 MB / 406.7 MB, free: 46.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3346, allocations: 205.9 kB / 406.9 MB, free: 46.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/0.3382, allocations: 3.935 MB / 410.9 MB, free: 42.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.3383, allocations: 61.7 kB / 410.9 MB, free: 42.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3396, allocations: 3.817 MB / 414.8 MB, free: 39.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/0.3401, allocations: 0.9021 MB / 415.7 MB, free: 38.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.3412, allocations: 1.42 MB / 417.1 MB, free: 36.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.3412, allocations: 480.8 kB / 417.5 MB, free: 36.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3424, allocations: 0.7938 MB / 418.3 MB, free: 35.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.3449, allocations: 6.444 MB / 424.8 MB, free: 26.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004622/0.3495, allocations: 7.949 MB / 432.7 MB, free: 16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-05/0.3495, allocations: 40 kB / 432.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.007591/0.3571, allocations: 6.405 MB / 439.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.3572, allocations: 64.03 kB / 439.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.673e-05/0.3572, allocations: 135.9 kB / 439.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.3595, allocations: 1.013 MB / 440.4 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.3617, allocations: 1.474 MB / 441.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.3662, allocations: 4.586 MB / 446.4 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.3687, allocations: 426.9 kB / 446.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.369, allocations: 384 kB / 447.2 MB, free: 1.363 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001293/0.3703, allocations: 0.6914 MB / 447.9 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.3707, allocations: 457.3 kB / 448.4 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.3744, allocations: 2.279 MB / 450.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.3744, allocations: 27.83 kB / 450.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3744, allocations: 8 kB / 450.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.3745, allocations: 11.95 kB / 450.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.3847, allocations: 7.001 MB / 457.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.3847, allocations: 8 kB / 457.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.3855, allocations: 323.5 kB / 458 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/0.3876, allocations: 0.8095 MB / 458.8 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3877, allocations: 47.92 kB / 458.9 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/0.3918, allocations: 3.553 MB / 462.4 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.3918, allocations: 8 kB / 462.4 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.397, allocations: 3.569 MB / 466 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009748/0.398, allocations: 0.656 MB / 466.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.3983, allocations: 43.25 kB / 466.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/0.3992, allocations: 171.8 kB / 466.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.3995, allocations: 152.8 kB / 467 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/0.3996, allocations: 67.94 kB / 467.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002046/0.4016, allocations: 1.746 MB / 468.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4016, allocations: 0 / 468.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004042/0.4057, allocations: 1.34 MB / 470.2 MB, free: 10.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00052/0.4062, allocations: 258.2 kB / 470.4 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004756/0.411, allocations: 3.529 MB / 474 MB, free: 6.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.411, allocations: 4 kB / 474 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.4121, allocations: 1.052 MB / 475 MB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.4137, allocations: 0.5 MB / 475.5 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4239, allocations: 9.219 MB / 484.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.4251, allocations: 1.534 MB / 486.3 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002349/0.4275, allocations: 1.635 MB / 487.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.428, allocations: 264.5 kB / 488.2 MB, free: 7.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/0.428, allocations: 0 / 488.2 MB, free: 7.867 MB / 378.7 MB Notification: Performance of Templates: time 0.1566/0.5846, allocations: 40.73 MB / 0.5165 GB, free: 111.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.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: 4.158453297102824]