Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001049/0.001049, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002545, 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.001/0.001, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002303, 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.9519/0.9519, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08354/1.035, allocations: 53.66 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 3.938 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.392e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.0102/0.01021, allocations: 15.1 MB / 259.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008121/0.01833, allocations: 5.309 MB / 264.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.01981, allocations: 135.3 kB / 265.1 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.02394, allocations: 4.5 MB / 269.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.02783, allocations: 2.647 MB / 272.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.02932, allocations: 1.193 MB / 273.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1231/0.1524, allocations: 8.422 MB / 281.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006303/0.1587, allocations: 4.683 MB / 286.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007015/0.1657, allocations: 5.022 MB / 291.5 MB, free: 16.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.1699, allocations: 3.494 MB / 295 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.171, allocations: 0.5095 MB / 295.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.1732, allocations: 1.493 MB / 297 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.1753, allocations: 2.845 MB / 299.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.1777, allocations: 1.62 MB / 301.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.1837, allocations: 6.277 MB / 307.8 MB, free: 6.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.1837, allocations: 0 / 307.8 MB, free: 6.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1837, allocations: 0 / 307.8 MB, free: 6.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002356/0.184, allocations: 0 / 307.8 MB, free: 6.156 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.009982/0.1939, allocations: 8.398 MB / 316.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.194, allocations: 8.031 kB / 316.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004004/0.198, allocations: 1.605 MB / 317.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.2024, allocations: 3.277 MB / 321.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2026, allocations: 341.1 kB / 321.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/0.2031, allocations: 464.8 kB / 321.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008353/0.2114, allocations: 7.053 MB / 328.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.2116, allocations: 71.08 kB / 329 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.2119, allocations: 208.8 kB / 329.2 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.2139, allocations: 2.331 MB / 331.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006807/0.2207, allocations: 3.618 MB / 335.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03865/0.2593, allocations: 43.03 MB / 378.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006291/0.2656, allocations: 2.782 MB / 380.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/0.2666, allocations: 0.6462 MB / 381.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009373/0.2759, allocations: 6.236 MB / 387.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.276, allocations: 64.39 kB / 387.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=237): time 5.37e-06/0.276, allocations: 0 / 387.9 MB, free: 7.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=347): time 0.08504/0.361, allocations: 27.44 MB / 415.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.3611, allocations: 162.8 kB / 415.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/0.3654, allocations: 4.349 MB / 419.8 MB, free: 8.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006348/0.366, allocations: 77.7 kB / 419.9 MB, free: 8.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.3679, allocations: 4.006 MB / 423.9 MB, free: 4.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.369, allocations: 1.322 MB / 425.2 MB, free: 3.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001683/0.3707, allocations: 1.612 MB / 426.9 MB, free: 1.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.3707, allocations: 305.1 kB / 427.1 MB, free: 1.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1331/0.5038, allocations: 1.774 MB / 428.9 MB, free: 122.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005804/0.5096, allocations: 6.311 MB / 435.2 MB, free: 116.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009885/0.5195, allocations: 8.63 MB / 443.9 MB, free: 110.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002726/0.5198, allocations: 47.41 kB / 443.9 MB, free: 110.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=1133) (initialization): time 0.0309/0.5507, allocations: 10.64 MB / 454.5 MB, free: 109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.5508, allocations: 73.5 kB / 454.6 MB, free: 109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/0.5509, allocations: 161.4 kB / 454.8 MB, free: 109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01731/0.5682, allocations: 9.51 MB / 464.3 MB, free: 108.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/0.572, allocations: 1.89 MB / 466.2 MB, free: 108.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/0.5998, allocations: 18.44 MB / 484.6 MB, free: 90.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005304/0.6051, allocations: 360.7 kB / 485 MB, free: 90.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008614/0.606, allocations: 412 kB / 485.4 MB, free: 90.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 734 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (934): * Single equations (assignments): 927 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,77,47.9%), (5,46,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,33)} Notification: Performance of prepare postOptimizeDAE: time 0.002251/0.6083, allocations: 0.7866 MB / 486.2 MB, free: 89.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009456/0.6092, allocations: 383.5 kB / 486.5 MB, free: 89.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/0.6313, allocations: 7.178 MB / 493.7 MB, free: 81.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.566e-05/0.6313, allocations: 36 kB / 493.7 MB, free: 81.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-05/0.6314, allocations: 24 kB / 493.8 MB, free: 81.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.675e-05/0.6314, allocations: 23.94 kB / 493.8 MB, free: 81.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03446/0.6659, allocations: 15.97 MB / 0.4978 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.6659, allocations: 8 kB / 0.4978 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.6674, allocations: 0.5566 MB / 0.4984 GB, free: 66.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.6686, allocations: 488.9 kB / 0.4988 GB, free: 65.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/0.6838, allocations: 9.019 MB / 0.5076 GB, free: 56.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/0.6843, allocations: 67.98 kB / 0.5077 GB, free: 56.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02304/0.7073, allocations: 15.12 MB / 0.5225 GB, free: 41.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.7074, allocations: 15.94 kB / 0.5225 GB, free: 41.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/0.7324, allocations: 8.747 MB / 0.531 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/0.7338, allocations: 64 kB / 0.5311 GB, free: 32.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.7356, allocations: 83.95 kB / 0.5312 GB, free: 32.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/0.7367, allocations: 306.9 kB / 0.5315 GB, free: 32.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/0.7369, allocations: 79.98 kB / 0.5315 GB, free: 32.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.7387, allocations: 1.686 MB / 0.5332 GB, free: 30.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7387, allocations: 0 / 0.5332 GB, free: 30.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007453/0.7461, allocations: 2.442 MB / 0.5356 GB, free: 28.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (167): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(13,68,39.6%), (7,42,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006035/0.7467, allocations: 225.3 kB / 0.5358 GB, free: 27.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009952/0.7567, allocations: 6.402 MB / 0.542 GB, free: 21.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0007693/0.7574, allocations: 158.1 kB / 0.5422 GB, free: 21.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005186/0.7626, allocations: 3.128 MB / 0.5452 GB, free: 17.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.7663, allocations: 1.338 MB / 0.5465 GB, free: 16.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.127/0.8933, allocations: 13.47 MB / 0.5597 GB, free: 105.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/0.8963, allocations: 1.936 MB / 0.5616 GB, free: 105.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002195/0.8985, allocations: 0.6528 MB / 0.5622 GB, free: 105.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.8997, allocations: 0.7305 MB / 0.5629 GB, free: 105.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.954e-06/0.8997, allocations: 0 / 0.5629 GB, free: 105.2 MB / 394.7 MB Notification: Performance of Templates: time 0.1242/1.024, allocations: 137.8 MB / 0.6976 GB, free: 14.27 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.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: 5.212375914677978]