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.0007323/0.0007323, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009917/0.001724, allocations: 449.7 kB / 10.37 MB, free: 328 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.001481/0.001481, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.00298, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9263/0.9263, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08884/1.015, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.583e-06/1.583e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.745e-05, allocations: 10.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01325/0.01327, allocations: 12.83 MB / 257.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.0236, allocations: 4.972 MB / 262.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.0252, allocations: 103.5 kB / 262.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.03083, allocations: 4.24 MB / 266.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.03524, allocations: 2.22 MB / 268.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.03725, allocations: 1.146 MB / 270 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1409/0.1781, allocations: 6.271 MB / 276.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007351/0.1855, allocations: 4.311 MB / 280.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008556/0.194, allocations: 4.069 MB / 284.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004584/0.1986, allocations: 3.038 MB / 287.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.1999, allocations: 0.5061 MB / 288.2 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.2024, allocations: 1.623 MB / 289.9 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.2039, allocations: 2.475 MB / 292.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.2054, allocations: 1.424 MB / 293.8 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.21, allocations: 5.618 MB / 299.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.21, allocations: 3.188 kB / 299.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.21, allocations: 4 kB / 299.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002843/0.2103, allocations: 0 / 299.4 MB, free: 14.7 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.008439/0.2188, allocations: 6.837 MB / 306.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2188, allocations: 12.02 kB / 306.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.2221, allocations: 1.402 MB / 307.6 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.2253, allocations: 2.603 MB / 310.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.2254, allocations: 307.6 kB / 310.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00053/0.2259, allocations: 444.4 kB / 311 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006957/0.2329, allocations: 5.982 MB / 316.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.233, allocations: 48.72 kB / 317 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.2333, allocations: 191 kB / 317.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001501/0.2348, allocations: 1.826 MB / 319 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005826/0.2407, allocations: 3.077 MB / 322.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.2656, allocations: 34.22 MB / 356.3 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.2697, allocations: 2.041 MB / 358.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.2703, allocations: 417.2 kB / 358.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00527/0.2756, allocations: 3.993 MB / 362.7 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.2756, allocations: 55.11 kB / 362.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 3.797e-06/0.2756, allocations: 0 / 362.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.01607/0.2917, allocations: 6.767 MB / 369.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2918, allocations: 157.5 kB / 369.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003196/0.2949, allocations: 3.522 MB / 373.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.295, allocations: 57.7 kB / 373.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.2967, allocations: 3.423 MB / 376.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.2971, allocations: 0.811 MB / 377.5 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.2982, allocations: 1.264 MB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.2982, allocations: 301.1 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.2995, allocations: 0.7876 MB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/0.3022, allocations: 4.616 MB / 384.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/0.3064, allocations: 5.953 MB / 390.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-05/0.3065, allocations: 40 kB / 390.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.005655/0.3121, allocations: 4.485 MB / 395 MB, free: 14.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.3122, allocations: 67.94 kB / 395 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.3123, allocations: 140 kB / 395.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000918/0.3132, allocations: 444.9 kB / 395.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.3158, allocations: 1.646 MB / 397.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.318, allocations: 2.473 MB / 399.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/0.3205, allocations: 283.8 kB / 400 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.3208, allocations: 336 kB / 400.3 MB, free: 9.113 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.001535/0.3223, allocations: 0.652 MB / 401 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.3227, allocations: 259.7 kB / 401.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.3242, allocations: 1.093 MB / 402.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.3242, allocations: 24 kB / 402.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3242, allocations: 4 kB / 402.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3242, allocations: 11.95 kB / 402.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006286/0.3305, allocations: 5.141 MB / 407.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.3305, allocations: 8 kB / 407.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/0.3312, allocations: 347.5 kB / 407.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.3317, allocations: 365.2 kB / 408.2 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008084/0.3325, allocations: 435 kB / 408.6 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/0.3326, allocations: 36 kB / 408.7 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.3341, allocations: 1.756 MB / 410.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.3341, allocations: 15.94 kB / 410.4 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.3361, allocations: 2.237 MB / 412.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.3364, allocations: 44 kB / 412.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.3371, allocations: 43.98 kB / 412.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.3372, allocations: 152.5 kB / 412.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.3373, allocations: 52 kB / 413 MB, free: 12.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.3384, allocations: 1.333 MB / 414.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3384, allocations: 4 kB / 414.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003756/0.3422, allocations: 1.203 MB / 415.5 MB, free: 9.652 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.0003859/0.3426, allocations: 238.4 kB / 415.7 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.3453, allocations: 2.717 MB / 418.5 MB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001716/0.3455, allocations: 120.6 kB / 418.6 MB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.3461, allocations: 0.6554 MB / 419.2 MB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.3482, allocations: 1.046 MB / 420.3 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1167/0.4649, allocations: 9.198 MB / 429.5 MB, free: 122.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.4664, allocations: 1.515 MB / 431 MB, free: 122.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00178/0.4682, allocations: 0.5499 MB / 431.5 MB, free: 122.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009353/0.4692, allocations: 0.6272 MB / 432.2 MB, free: 122.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4692, allocations: 1.188 kB / 432.2 MB, free: 122.3 MB / 394.7 MB Notification: Performance of Templates: time 0.05053/0.5197, allocations: 36.18 MB / 468.3 MB, free: 103.3 MB / 394.7 MB " [Timeout remaining time 659] 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.839604325592518]