Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 149.7 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9587/0.9587, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.179e-05, allocations: 2.312 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01057/0.01059, allocations: 12.77 MB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008736/0.01933, allocations: 4.937 MB / 286.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.02112, allocations: 107.4 kB / 286.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1192/0.1403, allocations: 4.41 MB / 290.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.1456, allocations: 2.277 MB / 293 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.1478, allocations: 1.22 MB / 294.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007989/0.1558, allocations: 6.627 MB / 300.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005289/0.1611, allocations: 4.594 MB / 305.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/0.1664, allocations: 4.197 MB / 309.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.1701, allocations: 3.055 MB / 312.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.1712, allocations: 0.5039 MB / 313.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.1734, allocations: 1.629 MB / 314.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.1751, allocations: 2.806 MB / 317.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.1773, allocations: 1.771 MB / 319.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005851/0.1831, allocations: 6.138 MB / 325.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1831, allocations: 0 / 325.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1831, allocations: 0 / 325.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001665/0.1833, allocations: 0 / 325.6 MB, free: 13.56 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.006977/0.1903, allocations: 5.7 MB / 331.3 MB, free: 8.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1903, allocations: 12.92 kB / 331.3 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.1938, allocations: 1.413 MB / 332.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.1971, allocations: 2.606 MB / 335.3 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.1972, allocations: 300 kB / 335.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.1978, allocations: 445.5 kB / 336 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.2051, allocations: 5.978 MB / 342 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.41e-05/0.2052, allocations: 45.52 kB / 342 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.2055, allocations: 194 kB / 342.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/0.207, allocations: 1.824 MB / 344 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006032/0.213, allocations: 3.062 MB / 347.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02959/0.2426, allocations: 34.21 MB / 381.3 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.2471, allocations: 2.067 MB / 383.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.2477, allocations: 426.7 kB / 383.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005944/0.2537, allocations: 3.998 MB / 387.8 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.2538, allocations: 59.48 kB / 387.9 MB, free: 236 kB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 4.489e-06/0.2538, allocations: 0 / 387.9 MB, free: 236 kB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.0171/0.2709, allocations: 6.908 MB / 394.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.271, allocations: 200.6 kB / 395 MB, free: 9.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.2741, allocations: 3.547 MB / 398.5 MB, free: 5.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.2743, allocations: 53.7 kB / 398.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.2758, allocations: 3.418 MB / 402 MB, free: 2.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007003/0.2765, allocations: 0.8216 MB / 402.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009855/0.2775, allocations: 1.263 MB / 404.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.2775, allocations: 301.1 kB / 404.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.2787, allocations: 0.7837 MB / 405.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00288/0.2816, allocations: 4.613 MB / 409.8 MB, free: 8.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/0.2863, allocations: 5.961 MB / 415.7 MB, free: 468 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-05/0.2864, allocations: 40 kB / 415.8 MB, free: 428 kB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.006081/0.2924, allocations: 4.479 MB / 420.2 MB, free: 11.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002679/0.2927, allocations: 67.94 kB / 420.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.955e-05/0.2928, allocations: 136 kB / 420.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/0.2937, allocations: 440.2 kB / 420.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/0.2965, allocations: 1.544 MB / 422.4 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.299, allocations: 2.466 MB / 424.9 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/0.3019, allocations: 279.7 kB / 425.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004391/0.3023, allocations: 340 kB / 425.5 MB, free: 6.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * 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 (823): * Single equations (assignments): 819 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.3038, allocations: 0.6612 MB / 426.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/0.3043, allocations: 259.7 kB / 426.4 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.306, allocations: 1.092 MB / 427.5 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.3061, allocations: 24 kB / 427.5 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3061, allocations: 4 kB / 427.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3061, allocations: 7.969 kB / 427.5 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1298/0.4359, allocations: 5.153 MB / 432.7 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/0.4359, allocations: 13.81 kB / 432.7 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.4368, allocations: 322.6 kB / 433 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.4379, allocations: 430.7 kB / 433.4 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.438, allocations: 49.28 kB / 433.5 MB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.4396, allocations: 1.729 MB / 435.2 MB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.4396, allocations: 15.59 kB / 435.2 MB, free: 100.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.4422, allocations: 2.237 MB / 437.4 MB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006698/0.4428, allocations: 365.5 kB / 437.8 MB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.4432, allocations: 46.52 kB / 437.9 MB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.4439, allocations: 48.84 kB / 437.9 MB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.4442, allocations: 149.8 kB / 438 MB, free: 99.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/0.4443, allocations: 51.28 kB / 438.1 MB, free: 99.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001688/0.446, allocations: 1.341 MB / 439.4 MB, free: 99.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.446, allocations: 0 / 439.4 MB, free: 99.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003686/0.4496, allocations: 1.22 MB / 440.7 MB, free: 99.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 168 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004759/0.4501, allocations: 256.1 kB / 440.9 MB, free: 99.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.4534, allocations: 2.727 MB / 443.6 MB, free: 98.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001998/0.4536, allocations: 101.6 kB / 443.7 MB, free: 98.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007246/0.4543, allocations: 0.6509 MB / 444.4 MB, free: 98.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.4568, allocations: 0.7569 MB / 445.1 MB, free: 98.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.4675, allocations: 8.985 MB / 454.1 MB, free: 94.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.469, allocations: 1.509 MB / 455.6 MB, free: 94.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00153/0.4705, allocations: 0.5597 MB / 456.2 MB, free: 94.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.4714, allocations: 0.6318 MB / 456.8 MB, free: 94.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.4714, allocations: 0 / 456.8 MB, free: 94.43 MB / 378.7 MB Notification: Performance of Templates: time 0.04724/0.5186, allocations: 35.62 MB / 492.4 MB, free: 66.74 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.8920850520953536]