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.001763/0.001763, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002316/0.002316, allocations: 218.8 kB / 23 MB, free: 5.574 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.496/1.496, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.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 0.001883/0.001883, allocations: 63.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.262, allocations: 53.32 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02023/0.2823, allocations: 18.14 MB / 447.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2955, allocations: 6.091 MB / 454 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.2988, allocations: 143.6 kB / 454.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0119/0.3107, allocations: 6.332 MB / 460.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007827/0.3185, allocations: 2.895 MB / 463.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005169/0.3237, allocations: 2.292 MB / 465.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01409/0.3378, allocations: 9.685 MB / 475.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.3497, allocations: 5.821 MB / 481.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006223/0.3559, allocations: 3.225 MB / 484.4 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007153/0.363, allocations: 4.464 MB / 488.9 MB, free: 12.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.3654, allocations: 0.7188 MB / 489.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.3705, allocations: 1.939 MB / 491.5 MB, free: 9.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005861/0.3763, allocations: 3.888 MB / 495.4 MB, free: 5.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00827/0.3846, allocations: 4.127 MB / 499.6 MB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.4048, allocations: 13.23 MB / 0.5008 GB, free: 4.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4048, allocations: 0 / 0.5008 GB, free: 4.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4048, allocations: 0 / 0.5008 GB, free: 4.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005494/0.4054, allocations: 4 kB / 0.5008 GB, free: 4.234 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.02676/0.4321, allocations: 9.137 MB / 0.5097 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4322, allocations: 16.03 kB / 0.5097 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04599/0.4782, allocations: 4.888 MB / 0.5145 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01812/0.4963, allocations: 6.422 MB / 0.5207 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005216/0.4968, allocations: 431.7 kB / 0.5212 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/0.4996, allocations: 0.5858 MB / 0.5217 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4892/0.9889, allocations: 17.04 MB / 0.5384 GB, free: 90.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000688/0.9896, allocations: 78.75 kB / 0.5384 GB, free: 90.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/0.9918, allocations: 269.4 kB / 0.5387 GB, free: 90.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004586/0.9964, allocations: 2.658 MB / 0.5413 GB, free: 89.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/1.025, allocations: 14.78 MB / 0.5557 GB, free: 83.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08187/1.107, allocations: 64.35 MB / 0.6186 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/1.128, allocations: 8.488 MB / 0.6269 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005332/1.133, allocations: 4.71 MB / 0.6315 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03326/1.166, allocations: 18.65 MB / 0.6497 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.685e-05/1.166, allocations: 64.56 kB / 0.6497 GB, free: 3.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 6.212e-06/1.166, allocations: 0 / 0.6497 GB, free: 3.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.266/1.432, allocations: 74.28 MB / 0.7223 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002915/1.433, allocations: 380.6 kB / 0.7226 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/1.447, allocations: 6.373 MB / 0.7289 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/1.448, allocations: 81.7 kB / 0.7289 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005091/1.453, allocations: 4.93 MB / 0.7338 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002701/1.456, allocations: 1.442 MB / 0.7352 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006728/1.463, allocations: 1.991 MB / 0.7371 GB, free: 10.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.463, allocations: 301.1 kB / 0.7374 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/1.473, allocations: 5.992 MB / 0.7433 GB, free: 4.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2691/1.742, allocations: 11.02 MB / 0.754 GB, free: 183.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/1.761, allocations: 17.95 MB / 0.7715 GB, free: 171 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002759/1.761, allocations: 53.62 kB / 0.7716 GB, free: 171 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04566/1.807, allocations: 23.3 MB / 0.7943 GB, free: 161.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/1.807, allocations: 80 kB / 0.7944 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/1.807, allocations: 172 kB / 0.7946 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02053/1.828, allocations: 7.44 MB / 0.8019 GB, free: 154.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007523/1.835, allocations: 2.191 MB / 0.804 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04207/1.877, allocations: 38.12 MB / 0.8412 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/1.887, allocations: 0.752 MB / 0.842 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/1.89, allocations: 0.5312 MB / 0.8425 GB, free: 113.2 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.008576/1.898, allocations: 3.425 MB / 0.8458 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/1.901, allocations: 0.6036 MB / 0.8464 GB, free: 109.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/1.934, allocations: 16.88 MB / 0.8629 GB, free: 92.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.95e-05/1.934, allocations: 55.98 kB / 0.8629 GB, free: 92.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-05/1.934, allocations: 16 kB / 0.863 GB, free: 92.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.923e-05/1.934, allocations: 15.94 kB / 0.863 GB, free: 92.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05813/1.992, allocations: 31.96 MB / 0.8942 GB, free: 60.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/1.992, allocations: 7.938 kB / 0.8942 GB, free: 60.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.995, allocations: 0.6045 MB / 0.8948 GB, free: 59.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01882/2.014, allocations: 7.015 MB / 0.9016 GB, free: 52.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/2.015, allocations: 64 kB / 0.9017 GB, free: 52.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04234/2.058, allocations: 36.32 MB / 0.9372 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/2.058, allocations: 4 kB / 0.9372 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2748/2.332, allocations: 24.55 MB / 0.9611 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/2.334, allocations: 0.6587 MB / 0.9618 GB, free: 170.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.335, allocations: 59.78 kB / 0.9618 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003973/2.339, allocations: 444.4 kB / 0.9623 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/2.341, allocations: 247 kB / 0.9625 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/2.341, allocations: 105.7 kB / 0.9626 GB, free: 170.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004943/2.346, allocations: 4.043 MB / 0.9665 GB, free: 169.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/2.346, allocations: 0 / 0.9665 GB, free: 169.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00941/2.355, allocations: 2.281 MB / 0.9688 GB, free: 168.8 MB / 0.545 GB 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.001015/2.356, allocations: 280.3 kB / 0.969 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01823/2.375, allocations: 14.19 MB / 0.9829 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/2.375, allocations: 8.359 kB / 0.9829 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008257/2.383, allocations: 6.165 MB / 0.9889 GB, free: 160.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/2.388, allocations: 0.877 MB / 0.9898 GB, free: 160.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/2.412, allocations: 20.29 MB / 1.01 GB, free: 142.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/2.417, allocations: 5.266 MB / 1.015 GB, free: 138.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006164/2.423, allocations: 3.022 MB / 1.018 GB, free: 135.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/2.425, allocations: 383.4 kB / 1.018 GB, free: 134.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/2.425, allocations: 0 / 1.018 GB, free: 134.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1423/2.567, allocations: 109.1 MB / 1.125 GB, free: 26.25 MB / 0.545 GB " [Timeout remaining time 657] 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.699994534254074]