Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007964/0.0007964, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001904, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0007239/0.0007239, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009586/0.001683, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.922/0.922, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09238/1.014, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.367e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.00935/0.009363, allocations: 12.85 MB / 257.6 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00729/0.01665, allocations: 4.965 MB / 262.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008764/0.01753, allocations: 107.4 kB / 262.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.02117, allocations: 4.232 MB / 266.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.0242, allocations: 2.228 MB / 269.1 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.02573, allocations: 1.134 MB / 270.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.119/0.1447, allocations: 6.269 MB / 276.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004976/0.1497, allocations: 4.306 MB / 280.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.1548, allocations: 4.073 MB / 284.9 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.158, allocations: 3.039 MB / 287.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007831/0.1588, allocations: 0.5025 MB / 288.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.1606, allocations: 1.616 MB / 290 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.1618, allocations: 2.478 MB / 292.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.1628, allocations: 1.424 MB / 293.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.1663, allocations: 5.609 MB / 299.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.1663, allocations: 0 / 299.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1663, allocations: 3.031 kB / 299.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.616e-05/0.1664, allocations: 0 / 299.5 MB, free: 14.64 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.00625/0.1727, allocations: 6.843 MB / 306.4 MB, free: 8.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1727, allocations: 12.02 kB / 306.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/0.1758, allocations: 1.403 MB / 307.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.1785, allocations: 2.603 MB / 310.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.1786, allocations: 304 kB / 310.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.1791, allocations: 434.8 kB / 311.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006259/0.1854, allocations: 5.986 MB / 317.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.303e-05/0.1855, allocations: 51.23 kB / 317.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.1858, allocations: 189.7 kB / 317.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001341/0.1871, allocations: 1.728 MB / 319.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004428/0.1916, allocations: 3.066 MB / 322.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/0.2156, allocations: 34.23 MB / 356.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.2199, allocations: 2.044 MB / 358.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.2204, allocations: 419.3 kB / 358.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004892/0.2253, allocations: 4.007 MB / 362.8 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2253, allocations: 43.56 kB / 362.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 2.976e-06/0.2253, allocations: 0 / 362.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.0167/0.242, allocations: 6.927 MB / 369.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.2421, allocations: 153.8 kB / 369.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.2448, allocations: 3.523 MB / 373.5 MB, free: 6.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.2449, allocations: 53.7 kB / 373.5 MB, free: 6.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.2461, allocations: 3.427 MB / 376.9 MB, free: 3.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.2465, allocations: 0.8177 MB / 377.8 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009257/0.2474, allocations: 1.254 MB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.2475, allocations: 305.1 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.2486, allocations: 0.7915 MB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/0.2511, allocations: 4.613 MB / 384.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.2553, allocations: 6.414 MB / 391.1 MB, free: 2.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.874e-05/0.2553, allocations: 44 kB / 391.2 MB, free: 2.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.004697/0.26, allocations: 4.483 MB / 395.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.2601, allocations: 67.94 kB / 395.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.972e-05/0.2602, allocations: 144 kB / 395.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008506/0.261, allocations: 445.6 kB / 396.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.2636, allocations: 1.646 MB / 397.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.2659, allocations: 2.475 MB / 400.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.2682, allocations: 282 kB / 400.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/0.2685, allocations: 340 kB / 401 MB, free: 8.445 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.001362/0.2699, allocations: 0.6603 MB / 401.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.2702, allocations: 259.7 kB / 401.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.2716, allocations: 1.081 MB / 403 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.2716, allocations: 16 kB / 403 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2716, allocations: 4 kB / 403 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.2716, allocations: 19.95 kB / 403.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/0.2776, allocations: 5.14 MB / 408.2 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.2776, allocations: 16 kB / 408.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.2784, allocations: 352.1 kB / 408.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.2787, allocations: 369.2 kB / 408.9 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/0.2795, allocations: 432 kB / 409.3 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/0.2796, allocations: 47.98 kB / 409.4 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.2811, allocations: 1.745 MB / 411.1 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.2811, allocations: 15.94 kB / 411.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.2831, allocations: 2.237 MB / 413.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.2834, allocations: 51.97 kB / 413.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.284, allocations: 44 kB / 413.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.2842, allocations: 152.5 kB / 413.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.2843, allocations: 55.98 kB / 413.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.2854, allocations: 1.326 MB / 415 MB, free: 10.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2854, allocations: 4 kB / 415 MB, free: 10.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003284/0.2887, allocations: 1.203 MB / 416.2 MB, free: 8.992 MB / 394.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.0003869/0.2891, allocations: 235.7 kB / 416.4 MB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.2918, allocations: 2.845 MB / 419.3 MB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001726/0.292, allocations: 122.7 kB / 419.4 MB, free: 5.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.2935, allocations: 1.277 MB / 420.7 MB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.2959, allocations: 3.502 MB / 424.2 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/0.4146, allocations: 9.189 MB / 433.4 MB, free: 120.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.4161, allocations: 1.511 MB / 434.9 MB, free: 120 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001478/0.4176, allocations: 0.5507 MB / 435.4 MB, free: 119.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009079/0.4185, allocations: 0.6095 MB / 436.1 MB, free: 119.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4185, allocations: 0 / 436.1 MB, free: 119.9 MB / 394.7 MB Notification: Performance of Templates: time 0.04529/0.4638, allocations: 35.22 MB / 471.3 MB, free: 99.41 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4428307423368096]