Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.001341/0.001341, allocations: 85.17 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.001055/0.001055, allocations: 148.5 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.9273/0.9273, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.809e-05, allocations: 6.109 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.0118/0.01182, allocations: 17.13 MB / 285.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1104/0.1222, allocations: 6.217 MB / 291.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.1248, allocations: 171.5 kB / 292 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006518/0.1313, allocations: 6.632 MB / 298.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.136, allocations: 3.076 MB / 301.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.1387, allocations: 2.513 MB / 304.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006888/0.1455, allocations: 10.74 MB / 315 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.15, allocations: 7.161 MB / 322.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/0.1559, allocations: 6.684 MB / 328.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.1596, allocations: 4.591 MB / 333.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.1603, allocations: 0.7383 MB / 334.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.1624, allocations: 1.943 MB / 336.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.1646, allocations: 4.122 MB / 340.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.1666, allocations: 2.611 MB / 342.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006151/0.1727, allocations: 8.466 MB / 351.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1727, allocations: 4 kB / 351.3 MB, free: 5.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1727, allocations: 0 / 351.3 MB, free: 5.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001402/0.1729, allocations: 0 / 351.3 MB, free: 5.227 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.008725/0.1816, allocations: 8.215 MB / 359.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1816, allocations: 8.922 kB / 359.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006076/0.1877, allocations: 2.034 MB / 361.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.193, allocations: 4.156 MB / 365.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.1932, allocations: 443.6 kB / 366.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006521/0.1938, allocations: 0.582 MB / 366.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.2031, allocations: 8.297 MB / 375 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.2032, allocations: 79.33 kB / 375.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.2036, allocations: 263.8 kB / 375.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001767/0.2054, allocations: 2.323 MB / 377.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006756/0.2122, allocations: 4.085 MB / 381.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.2497, allocations: 47.81 MB / 429.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/0.2574, allocations: 3.043 MB / 432.6 MB, free: 1.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008682/0.2582, allocations: 0.6855 MB / 433.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1988/0.457, allocations: 6.764 MB / 440.1 MB, free: 116.6 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/0.4571, allocations: 60.39 kB / 440.1 MB, free: 116.6 MB / 378.8 MB Notification: Performance of pre-optimization done (n=227): time 9.859e-06/0.4571, allocations: 1.375 kB / 440.1 MB, free: 116.6 MB / 378.8 MB Notification: Performance of matching and sorting (n=276): time 0.05331/0.5104, allocations: 17.9 MB / 458 MB, free: 116.2 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.5105, allocations: 367 kB / 458.4 MB, free: 115.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.5145, allocations: 5.073 MB / 463.5 MB, free: 112.6 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003294/0.5149, allocations: 65.7 kB / 463.5 MB, free: 112.5 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.5162, allocations: 4.641 MB / 468.2 MB, free: 108.3 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/0.517, allocations: 1.091 MB / 469.3 MB, free: 107.3 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.5182, allocations: 1.724 MB / 471 MB, free: 105.7 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.294e-05/0.5183, allocations: 305.1 kB / 471.3 MB, free: 105.4 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.5199, allocations: 1.206 MB / 472.5 MB, free: 104.2 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.5226, allocations: 6.501 MB / 479 MB, free: 95.17 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004621/0.5272, allocations: 8.26 MB / 487.3 MB, free: 84.63 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.699e-05/0.5273, allocations: 56 kB / 487.3 MB, free: 84.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.007952/0.5352, allocations: 6.749 MB / 494.1 MB, free: 77.78 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.5353, allocations: 84 kB / 494.1 MB, free: 77.7 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.5354, allocations: 184 kB / 494.3 MB, free: 77.52 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.5384, allocations: 1.444 MB / 495.8 MB, free: 76.07 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.5419, allocations: 2.094 MB / 497.9 MB, free: 73.97 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.5476, allocations: 6.744 MB / 0.4928 GB, free: 66.93 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/0.552, allocations: 399.6 kB / 0.4932 GB, free: 66.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006252/0.5527, allocations: 459.9 kB / 0.4936 GB, free: 66.09 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 840 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1111): * Single equations (assignments): 1104 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,21,76.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002001/0.5547, allocations: 0.8419 MB / 0.4944 GB, free: 65.23 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007971/0.5555, allocations: 375.2 kB / 0.4948 GB, free: 64.87 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.5587, allocations: 2.27 MB / 0.497 GB, free: 62.56 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.5587, allocations: 35.97 kB / 0.497 GB, free: 62.53 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.5587, allocations: 8 kB / 0.497 GB, free: 62.52 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.5588, allocations: 11.95 kB / 0.4971 GB, free: 62.51 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/0.5686, allocations: 8.303 MB / 0.5052 GB, free: 53.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.5686, allocations: 16.19 kB / 0.5052 GB, free: 53.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.5695, allocations: 419.4 kB / 0.5056 GB, free: 53.39 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/0.5721, allocations: 1.433 MB / 0.507 GB, free: 51.95 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.5723, allocations: 71.98 kB / 0.507 GB, free: 51.88 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.5773, allocations: 6.602 MB / 0.5135 GB, free: 44.98 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.5773, allocations: 31.88 kB / 0.5135 GB, free: 44.95 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.5816, allocations: 3.779 MB / 0.5172 GB, free: 40.76 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.5826, allocations: 0.543 MB / 0.5177 GB, free: 40.21 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/0.583, allocations: 71.92 kB / 0.5178 GB, free: 40.14 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.5842, allocations: 79.97 kB / 0.5179 GB, free: 40.06 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.5845, allocations: 240.5 kB / 0.5181 GB, free: 39.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.5846, allocations: 84.02 kB / 0.5182 GB, free: 39.75 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001652/0.5862, allocations: 2.001 MB / 0.5202 GB, free: 37.77 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5862, allocations: 0 / 0.5202 GB, free: 37.77 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00508/0.5913, allocations: 1.898 MB / 0.522 GB, free: 35.88 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 2 (revolute1.phi,revolute1.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 (219): * Single equations (assignments): 212 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,21,76.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005505/0.5919, allocations: 303.4 kB / 0.5223 GB, free: 35.57 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.5964, allocations: 4.268 MB / 0.5265 GB, free: 31.28 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001974/0.5966, allocations: 126 kB / 0.5266 GB, free: 31.15 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.5979, allocations: 1.351 MB / 0.5279 GB, free: 29.76 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/0.6019, allocations: 1.18 MB / 0.5291 GB, free: 28.6 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.617, allocations: 12.97 MB / 0.5417 GB, free: 15.27 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/0.6193, allocations: 2.126 MB / 0.5438 GB, free: 13.11 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002388/0.6217, allocations: 0.7794 MB / 0.5446 GB, free: 12.32 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.6231, allocations: 0.9053 MB / 0.5454 GB, free: 11.41 MB / 378.8 MB Notification: Performance of SimCode: time 1.834e-06/0.6231, allocations: 0 / 0.5454 GB, free: 11.41 MB / 378.8 MB Notification: Performance of Templates: time 0.2044/0.8276, allocations: 68.95 MB / 0.6128 GB, free: 86.07 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.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: 4.655000609811395]