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.001459/0.001459, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001561/0.001561, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.00179/0.00179, allocations: 47.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1162, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.2593/0.3755, allocations: 18.11 MB / 444.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.3947, allocations: 6.069 MB / 451 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006112/0.4008, allocations: 168.6 kB / 451.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.4153, allocations: 6.316 MB / 457.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.4263, allocations: 2.895 MB / 460.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006409/0.4327, allocations: 2.275 MB / 462.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01734/0.4501, allocations: 9.695 MB / 472.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.4607, allocations: 6.901 MB / 479.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008164/0.4688, allocations: 3.245 MB / 482.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008787/0.4776, allocations: 4.468 MB / 486.9 MB, free: 4.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003116/0.4807, allocations: 0.7148 MB / 487.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00621/0.4869, allocations: 1.943 MB / 489.6 MB, free: 1.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006791/0.4937, allocations: 3.884 MB / 493.5 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009755/0.5035, allocations: 4.13 MB / 497.6 MB, free: 9.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02386/0.5274, allocations: 13.22 MB / 0.4989 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.5274, allocations: 0 / 0.4989 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5274, allocations: 0 / 0.4989 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000748/0.5281, allocations: 0 / 0.4989 GB, free: 12.23 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.03589/0.564, allocations: 9.145 MB / 0.5078 GB, free: 2.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.5641, allocations: 8.031 kB / 0.5078 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05183/0.6159, allocations: 4.899 MB / 0.5126 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/0.6346, allocations: 6.41 MB / 0.5188 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/0.6351, allocations: 431.7 kB / 0.5192 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003009/0.6381, allocations: 0.5821 MB / 0.5198 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04099/0.6791, allocations: 17.05 MB / 0.5365 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004063/0.6795, allocations: 80.83 kB / 0.5365 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/0.6816, allocations: 271.8 kB / 0.5368 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005393/0.687, allocations: 2.658 MB / 0.5394 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03687/0.7238, allocations: 14.78 MB / 0.5538 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/0.8269, allocations: 64.34 MB / 0.6167 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4781/1.305, allocations: 8.482 MB / 0.6249 GB, free: 157 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/1.315, allocations: 4.704 MB / 0.6295 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04762/1.363, allocations: 18.65 MB / 0.6478 GB, free: 147 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/1.363, allocations: 67.12 kB / 0.6478 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=281): time 1.021e-05/1.363, allocations: 0 / 0.6478 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=374): time 0.2706/1.633, allocations: 74.29 MB / 0.7204 GB, free: 84.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.634, allocations: 376.6 kB / 0.7207 GB, free: 84.05 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008441/1.642, allocations: 6.382 MB / 0.727 GB, free: 77.77 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009639/1.643, allocations: 77.7 kB / 0.727 GB, free: 77.69 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002176/1.645, allocations: 4.933 MB / 0.7319 GB, free: 73.14 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.647, allocations: 1.435 MB / 0.7333 GB, free: 71.73 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002708/1.649, allocations: 1.995 MB / 0.7352 GB, free: 69.72 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/1.649, allocations: 301.1 kB / 0.7355 GB, free: 69.42 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006734/1.656, allocations: 5.988 MB / 0.7413 GB, free: 63.43 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008222/1.664, allocations: 11.02 MB / 0.7521 GB, free: 49.96 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/1.682, allocations: 17.96 MB / 0.7696 GB, free: 29.56 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/1.682, allocations: 51.98 kB / 0.7697 GB, free: 29.51 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04294/1.725, allocations: 23.3 MB / 0.7924 GB, free: 6.168 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/1.725, allocations: 80.06 kB / 0.7925 GB, free: 6.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002637/1.725, allocations: 172 kB / 0.7927 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02404/1.749, allocations: 7.433 MB / 0.7999 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009388/1.758, allocations: 2.195 MB / 0.8021 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3184/2.077, allocations: 38.12 MB / 0.8393 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/2.087, allocations: 0.7438 MB / 0.84 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002441/2.089, allocations: 0.5276 MB / 0.8406 GB, free: 158.3 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.008/2.097, allocations: 3.431 MB / 0.8439 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/2.099, allocations: 0.6034 MB / 0.8445 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03523/2.134, allocations: 16.87 MB / 0.861 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.144e-05/2.135, allocations: 43.8 kB / 0.861 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-05/2.135, allocations: 22.88 kB / 0.861 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.74e-05/2.135, allocations: 19.03 kB / 0.8611 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05686/2.192, allocations: 31.96 MB / 0.8923 GB, free: 132.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/2.192, allocations: 6 kB / 0.8923 GB, free: 132.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/2.195, allocations: 0.6083 MB / 0.8929 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02121/2.216, allocations: 7.012 MB / 0.8997 GB, free: 124.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/2.218, allocations: 60 kB / 0.8998 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04477/2.262, allocations: 36.31 MB / 0.9352 GB, free: 88.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/2.262, allocations: 0 / 0.9352 GB, free: 88.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04218/2.304, allocations: 24.56 MB / 0.9592 GB, free: 63.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/2.307, allocations: 0.6589 MB / 0.9599 GB, free: 63.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002523/2.309, allocations: 64 kB / 0.9599 GB, free: 63.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005802/2.315, allocations: 453.1 kB / 0.9603 GB, free: 62.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/2.317, allocations: 246.6 kB / 0.9606 GB, free: 62.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008621/2.318, allocations: 95.92 kB / 0.9607 GB, free: 62.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007125/2.325, allocations: 4.04 MB / 0.9646 GB, free: 58.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.325, allocations: 0 / 0.9646 GB, free: 58.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0132/2.338, allocations: 2.285 MB / 0.9668 GB, free: 56.02 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.001727/2.34, allocations: 291.2 kB / 0.9671 GB, free: 55.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02074/2.36, allocations: 14.19 MB / 0.981 GB, free: 41.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.36, allocations: 4 kB / 0.981 GB, free: 41.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009916/2.37, allocations: 6.169 MB / 0.987 GB, free: 35.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/2.377, allocations: 0.883 MB / 0.9879 GB, free: 34.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/2.408, allocations: 20.14 MB / 1.008 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00759/2.415, allocations: 5.262 MB / 1.013 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008086/2.423, allocations: 3.024 MB / 1.016 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002066/2.425, allocations: 379.4 kB / 1.016 GB, free: 5.625 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/2.425, allocations: 0 / 1.016 GB, free: 5.625 MB / 0.545 GB Notification: Performance of Templates: time 0.3586/2.784, allocations: 109.8 MB / 1.123 GB, free: 95.5 MB / 0.545 GB " [Timeout remaining time 657] 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/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_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: 9.871080234646797]