Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.001788/0.001788, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002218/0.002218, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 55.91 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2365, allocations: 53.35 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.0202/0.2567, allocations: 15.61 MB / 447.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2691, allocations: 5.835 MB / 453.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.2713, allocations: 179 kB / 454 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.2827, allocations: 6.064 MB / 460 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006771/0.2894, allocations: 2.914 MB / 462.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.294, allocations: 2.249 MB / 465.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01264/0.3066, allocations: 9.718 MB / 474.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.3142, allocations: 6.229 MB / 481.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004684/0.3189, allocations: 3.253 MB / 484.4 MB, free: 2.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006126/0.325, allocations: 4.468 MB / 488.8 MB, free: 13.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.3264, allocations: 0.7148 MB / 489.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.3297, allocations: 1.814 MB / 491.4 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003934/0.3336, allocations: 3.884 MB / 495.3 MB, free: 7.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00422/0.3379, allocations: 3.151 MB / 498.4 MB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.3529, allocations: 13.28 MB / 0.4997 GB, free: 7.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3529, allocations: 0 / 0.4997 GB, free: 7.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3529, allocations: 0 / 0.4997 GB, free: 7.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002846/0.3532, allocations: 0 / 0.4997 GB, free: 7.043 MB / 414.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.02026/0.3735, allocations: 9.067 MB / 0.5086 GB, free: 13.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3735, allocations: 12.03 kB / 0.5086 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04591/0.4194, allocations: 4.892 MB / 0.5133 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.4371, allocations: 6.319 MB / 0.5195 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.4375, allocations: 435.6 kB / 0.5199 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.4396, allocations: 0.5865 MB / 0.5205 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3739/0.8134, allocations: 17.27 MB / 0.5374 GB, free: 91.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/0.8137, allocations: 84.11 kB / 0.5374 GB, free: 91.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008896/0.8146, allocations: 268.5 kB / 0.5377 GB, free: 91.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004541/0.8192, allocations: 2.654 MB / 0.5403 GB, free: 91.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.8443, allocations: 14.74 MB / 0.5547 GB, free: 85.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06308/0.9073, allocations: 59.35 MB / 0.6126 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/0.9279, allocations: 8.039 MB / 0.6205 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004452/0.9324, allocations: 4.727 MB / 0.6251 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02543/0.9578, allocations: 16.93 MB / 0.6416 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.9579, allocations: 68.5 kB / 0.6417 GB, free: 11.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 7.334e-06/0.9579, allocations: 0 / 0.6417 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2737/1.232, allocations: 74.33 MB / 0.7143 GB, free: 1.965 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002346/1.232, allocations: 376.6 kB / 0.7147 GB, free: 1.516 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008876/1.241, allocations: 6.119 MB / 0.7206 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008606/1.242, allocations: 81.7 kB / 0.7207 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004069/1.246, allocations: 4.964 MB / 0.7256 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.248, allocations: 1.446 MB / 0.727 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003385/1.251, allocations: 1.983 MB / 0.7289 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.251, allocations: 301.1 kB / 0.7292 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009029/1.26, allocations: 5.992 MB / 0.7351 GB, free: 12.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2025/1.463, allocations: 11.23 MB / 0.746 GB, free: 183.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/1.481, allocations: 17.96 MB / 0.7636 GB, free: 172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/1.481, allocations: 49.47 kB / 0.7636 GB, free: 172 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.03932/1.52, allocations: 23.26 MB / 0.7863 GB, free: 162.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/1.52, allocations: 80 kB / 0.7864 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.52, allocations: 178.3 kB / 0.7866 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02078/1.541, allocations: 7.434 MB / 0.7938 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007123/1.548, allocations: 2.183 MB / 0.7959 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04158/1.59, allocations: 37.31 MB / 0.8324 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007934/1.598, allocations: 0.7443 MB / 0.8331 GB, free: 115.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.599, allocations: 0.5312 MB / 0.8336 GB, free: 115 MB / 0.545 GB 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.004445/1.603, allocations: 3.425 MB / 0.837 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.605, allocations: 0.5598 MB / 0.8375 GB, free: 111.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02955/1.634, allocations: 16.84 MB / 0.854 GB, free: 94.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-05/1.634, allocations: 15.94 kB / 0.854 GB, free: 94.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.634, allocations: 4 kB / 0.854 GB, free: 94.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.636, allocations: 0.5253 MB / 0.8545 GB, free: 94.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.637, allocations: 60.88 kB / 0.8546 GB, free: 94.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/1.641, allocations: 455.1 kB / 0.855 GB, free: 93.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009587/1.642, allocations: 337.8 kB / 0.8553 GB, free: 93.49 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02516/1.667, allocations: 15.38 MB / 0.8703 GB, free: 78.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01593/1.683, allocations: 15.91 MB / 0.8859 GB, free: 62.21 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004527/1.688, allocations: 4.821 MB / 0.8906 GB, free: 57.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00412/1.692, allocations: 3.656 MB / 0.8942 GB, free: 53.75 MB / 0.545 GB Notification: Performance of Backend: time 3.01e-07/1.692, allocations: 0 / 0.8942 GB, free: 53.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.707, allocations: 9.815 MB / 0.9037 GB, free: 43.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.02042/1.728, allocations: 16.52 MB / 0.9199 GB, free: 27.42 MB / 0.545 GB Notification: Performance of Templates: time 0.341/2.069, allocations: 133.7 MB / 1.05 GB, free: 114.9 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.960887108005409]