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.0007511/0.0007511, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001812, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006191/0.0006191, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009211/0.00154, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8168/0.8168, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1637/0.9805, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.643e-05, allocations: 2.969 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.009194/0.00921, allocations: 12.86 MB / 252.6 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008009/0.01722, allocations: 4.966 MB / 257.6 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.01867, allocations: 103.5 kB / 257.7 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004455/0.02313, allocations: 4.249 MB / 261.9 MB, free: 144 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.02736, allocations: 2.255 MB / 264.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.02905, allocations: 1.138 MB / 265.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006062/0.03511, allocations: 6.067 MB / 271.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004886/0.04, allocations: 4.317 MB / 275.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.04515, allocations: 4.076 MB / 279.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.04866, allocations: 3.044 MB / 282.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008326/0.0495, allocations: 0.5 MB / 283.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.05167, allocations: 1.623 MB / 284.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.05346, allocations: 2.506 MB / 287.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.05514, allocations: 1.438 MB / 288.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005506/0.06064, allocations: 5.645 MB / 294.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.06066, allocations: 0 / 294.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.06066, allocations: 0 / 294.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.06079, allocations: 4 kB / 294.5 MB, free: 15.36 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.007376/0.06817, allocations: 6.857 MB / 301.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.0682, allocations: 8.031 kB / 301.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.07151, allocations: 1.417 MB / 302.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.07484, allocations: 2.602 MB / 305.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.07498, allocations: 308.3 kB / 305.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/0.07547, allocations: 436.6 kB / 306.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006982/0.08245, allocations: 5.97 MB / 312.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.113e-05/0.08254, allocations: 51.61 kB / 312.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.08284, allocations: 187.9 kB / 312.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/0.08419, allocations: 1.726 MB / 314.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005366/0.08956, allocations: 3.062 MB / 317.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1408/0.2304, allocations: 34.22 MB / 351.4 MB, free: 22.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.2345, allocations: 2.02 MB / 353.4 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.235, allocations: 422.2 kB / 353.8 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005327/0.2403, allocations: 3.987 MB / 357.8 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.2403, allocations: 55.56 kB / 357.8 MB, free: 21.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 3.807e-06/0.2403, allocations: 0 / 357.8 MB, free: 21.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.01655/0.2569, allocations: 6.92 MB / 364.7 MB, free: 21.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2569, allocations: 159.8 kB / 364.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.2597, allocations: 3.542 MB / 368.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.2599, allocations: 55.83 kB / 368.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.261, allocations: 3.422 MB / 371.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/0.2614, allocations: 0.8116 MB / 372.7 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/0.2623, allocations: 1.264 MB / 374 MB, free: 16.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.2623, allocations: 305.1 kB / 374.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.2634, allocations: 0.7857 MB / 375.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.2652, allocations: 4.61 MB / 379.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.2686, allocations: 6.422 MB / 386.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.611e-05/0.2686, allocations: 40 kB / 386.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.005208/0.2739, allocations: 4.485 MB / 390.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.2739, allocations: 64 kB / 390.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/0.274, allocations: 144 kB / 390.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009174/0.275, allocations: 453 kB / 391.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.2775, allocations: 1.638 MB / 392.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.2798, allocations: 2.462 MB / 395.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.2824, allocations: 294.6 kB / 395.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.2827, allocations: 344 kB / 396 MB, free: 8.777 MB / 330.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.001466/0.2842, allocations: 0.6456 MB / 396.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.2846, allocations: 259.7 kB / 396.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.2861, allocations: 1.095 MB / 398 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.2861, allocations: 20 kB / 398 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2861, allocations: 0 / 398 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.2861, allocations: 15.95 kB / 398 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/0.2925, allocations: 5.14 MB / 403.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.2925, allocations: 19.98 kB / 403.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.2932, allocations: 344.4 kB / 403.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.2938, allocations: 372.6 kB / 403.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008368/0.2946, allocations: 442.8 kB / 404.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.2947, allocations: 40 kB / 404.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.2967, allocations: 1.739 MB / 406.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.2967, allocations: 15.94 kB / 406.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.2988, allocations: 2.24 MB / 408.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.2991, allocations: 47.98 kB / 408.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007042/0.2999, allocations: 44 kB / 408.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.3, allocations: 152.4 kB / 408.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.3001, allocations: 51.98 kB / 408.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.3012, allocations: 1.341 MB / 410 MB, free: 11.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3012, allocations: 1.75 kB / 410 MB, free: 11.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003392/0.3046, allocations: 1.222 MB / 411.2 MB, free: 9.969 MB / 346.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.0004637/0.305, allocations: 258.6 kB / 411.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.3083, allocations: 2.849 MB / 414.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001782/0.3085, allocations: 115.5 kB / 414.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.3101, allocations: 1.265 MB / 415.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.3129, allocations: 3.507 MB / 419.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.3267, allocations: 9.224 MB / 428.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.3279, allocations: 1.515 MB / 429.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00139/0.3293, allocations: 0.5542 MB / 430.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008525/0.3302, allocations: 0.6105 MB / 431.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.402e-06/0.3302, allocations: 3.391 kB / 431.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of Templates: time 0.05495/0.3851, allocations: 35.52 MB / 466.6 MB, free: 2.48 MB / 394.7 MB " [Timeout remaining time 660] 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.167967432178557]