Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001698/0.001698, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.232e-05, allocations: 6.219 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01883/0.01885, allocations: 15.63 MB / 340.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.03292, allocations: 5.861 MB / 346.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004277/0.0372, allocations: 171.1 kB / 346.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01263/0.04983, allocations: 6.394 MB / 353.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008372/0.0582, allocations: 3.001 MB / 356.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005335/0.06353, allocations: 2.444 MB / 358.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01462/0.07816, allocations: 11.12 MB / 369.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009303/0.08746, allocations: 7.23 MB / 376.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/0.09574, allocations: 4.944 MB / 381.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007741/0.1035, allocations: 4.649 MB / 386.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001925/0.1054, allocations: 0.7383 MB / 387.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.1097, allocations: 1.873 MB / 389.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006056/0.1157, allocations: 4.076 MB / 393.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004393/0.1201, allocations: 2.567 MB / 395.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.1359, allocations: 13.52 MB / 409.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1359, allocations: 0 / 409.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1359, allocations: 0 / 409.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003407/0.1363, allocations: 0 / 409.2 MB, free: 0.5586 MB / 366.1 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.02436/0.1606, allocations: 9.213 MB / 418.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1607, allocations: 15.98 kB / 418.4 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05348/0.2142, allocations: 5.052 MB / 423.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/0.2313, allocations: 6.279 MB / 429.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.2317, allocations: 431.7 kB / 430.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.2336, allocations: 0.5821 MB / 430.8 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03469/0.2683, allocations: 17.3 MB / 448.1 MB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/0.2686, allocations: 79.42 kB / 448.2 MB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008276/0.2694, allocations: 267.8 kB / 448.4 MB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004902/0.2743, allocations: 2.666 MB / 451.1 MB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03248/0.3068, allocations: 14.75 MB / 465.8 MB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4028/0.7096, allocations: 60.03 MB / 0.5135 GB, free: 78.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02275/0.7324, allocations: 8.282 MB / 0.5216 GB, free: 71.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/0.7375, allocations: 4.728 MB / 0.5262 GB, free: 66.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/0.7638, allocations: 17.48 MB / 0.5433 GB, free: 49.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.7639, allocations: 68.55 kB / 0.5434 GB, free: 48.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=281): time 8.656e-06/0.7639, allocations: 0 / 0.5434 GB, free: 48.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=374): time 0.2821/1.046, allocations: 76.7 MB / 0.6183 GB, free: 4.723 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002604/1.046, allocations: 380.4 kB / 0.6186 GB, free: 4.273 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/1.059, allocations: 6.456 MB / 0.625 GB, free: 14.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.06, allocations: 85.64 kB / 0.625 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004697/1.065, allocations: 4.927 MB / 0.6298 GB, free: 9.324 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002442/1.067, allocations: 1.42 MB / 0.6312 GB, free: 7.926 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003802/1.071, allocations: 1.964 MB / 0.6331 GB, free: 5.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/1.071, allocations: 301.1 kB / 0.6334 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1916/1.263, allocations: 5.986 MB / 0.6393 GB, free: 157.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/1.275, allocations: 11.23 MB / 0.6502 GB, free: 149.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01883/1.294, allocations: 17.96 MB / 0.6678 GB, free: 137.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002734/1.294, allocations: 46.16 kB / 0.6678 GB, free: 137.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04597/1.34, allocations: 23.25 MB / 0.6905 GB, free: 124.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.34, allocations: 80 kB / 0.6906 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/1.34, allocations: 175.9 kB / 0.6908 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.363, allocations: 7.432 MB / 0.698 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007743/1.371, allocations: 2.187 MB / 0.7002 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04382/1.415, allocations: 37.48 MB / 0.7368 GB, free: 77.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/1.425, allocations: 0.8627 MB / 0.7376 GB, free: 76.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.427, allocations: 0.5272 MB / 0.7381 GB, free: 75.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * 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 (1091): * Single equations (assignments): 1084 * 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,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.005367/1.432, allocations: 3.433 MB / 0.7415 GB, free: 72.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/1.433, allocations: 0.5613 MB / 0.742 GB, free: 72.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/1.465, allocations: 16.84 MB / 0.7585 GB, free: 55.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.302e-05/1.465, allocations: 48 kB / 0.7585 GB, free: 55.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/1.465, allocations: 16 kB / 0.7585 GB, free: 55.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.838e-05/1.465, allocations: 19.94 kB / 0.7586 GB, free: 55.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04964/1.514, allocations: 29.65 MB / 0.7875 GB, free: 25.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/1.515, allocations: 8.031 kB / 0.7875 GB, free: 25.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/1.518, allocations: 0.6006 MB / 0.7881 GB, free: 24.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02132/1.539, allocations: 7.017 MB / 0.795 GB, free: 17.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007023/1.54, allocations: 60 kB / 0.795 GB, free: 17.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2164/1.756, allocations: 35.71 MB / 0.8299 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.756, allocations: 7.719 kB / 0.8299 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03899/1.795, allocations: 24.5 MB / 0.8538 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.797, allocations: 0.616 MB / 0.8544 GB, free: 128.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.798, allocations: 63.7 kB / 0.8545 GB, free: 128.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004867/1.803, allocations: 0.5452 MB / 0.855 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.804, allocations: 264.1 kB / 0.8553 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000393/1.805, allocations: 95.41 kB / 0.8554 GB, free: 128.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004471/1.809, allocations: 3.92 MB / 0.8592 GB, free: 124.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.809, allocations: 0 / 0.8592 GB, free: 124.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008646/1.818, allocations: 2.608 MB / 0.8617 GB, free: 121.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (243): * Single equations (assignments): 236 * 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,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/1.819, allocations: 308.1 kB / 0.862 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01896/1.838, allocations: 14.2 MB / 0.8759 GB, free: 107.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.838, allocations: 0 / 0.8759 GB, free: 107.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009396/1.847, allocations: 6.164 MB / 0.8819 GB, free: 101.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007516/1.855, allocations: 0.8206 MB / 0.8827 GB, free: 100.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/1.883, allocations: 20.23 MB / 0.9025 GB, free: 80.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004629/1.887, allocations: 4.78 MB / 0.9071 GB, free: 75.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00584/1.893, allocations: 2.991 MB / 0.9101 GB, free: 72.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/1.895, allocations: 380.4 kB / 0.9104 GB, free: 72.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/1.895, allocations: 0 / 0.9104 GB, free: 72.29 MB / 478.1 MB Notification: Performance of Templates: time 0.3194/2.214, allocations: 108.3 MB / 1.016 GB, free: 145.5 MB / 494.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.46147945523262]