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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2848, allocations: 50.55 MB / 409.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01955/0.3044, allocations: 18.02 MB / 427.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.319, allocations: 6.037 MB / 433.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004315/0.3233, allocations: 147.5 kB / 433.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.3358, allocations: 6.242 MB / 439.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.3456, allocations: 2.895 MB / 442.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.3514, allocations: 2.273 MB / 444.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01504/0.3665, allocations: 9.697 MB / 454.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.3799, allocations: 8.416 MB / 463 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006707/0.3867, allocations: 3.202 MB / 466.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007548/0.3943, allocations: 4.164 MB / 470.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002762/0.3971, allocations: 0.7148 MB / 471.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/0.4029, allocations: 1.896 MB / 473 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006661/0.4096, allocations: 3.835 MB / 476.8 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009735/0.4194, allocations: 4.13 MB / 480.9 MB, free: 9.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01781/0.4372, allocations: 13.17 MB / 494.1 MB, free: 12.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4373, allocations: 3.938 kB / 494.1 MB, free: 12.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4373, allocations: 0 / 494.1 MB, free: 12.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004867/0.4378, allocations: 0 / 494.1 MB, free: 12.44 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.02401/0.4618, allocations: 8.919 MB / 0.4912 GB, free: 3.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4619, allocations: 8.031 kB / 0.4912 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0409/0.5028, allocations: 4.855 MB / 0.496 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.5184, allocations: 6.384 MB / 0.5022 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.5188, allocations: 431.7 kB / 0.5026 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.5209, allocations: 0.5895 MB / 0.5032 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/0.5527, allocations: 17.05 MB / 0.5198 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/0.553, allocations: 71.34 kB / 0.5199 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/0.5537, allocations: 267.8 kB / 0.5202 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.5578, allocations: 2.658 MB / 0.5228 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/0.5872, allocations: 14.78 MB / 0.5372 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5321/1.119, allocations: 64.25 MB / 0.5999 GB, free: 66.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/1.139, allocations: 8.774 MB / 0.6085 GB, free: 58.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004992/1.144, allocations: 5.073 MB / 0.6135 GB, free: 53.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02312/1.167, allocations: 18.63 MB / 0.6317 GB, free: 34.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.167, allocations: 64.56 kB / 0.6317 GB, free: 34.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 5.58e-06/1.167, allocations: 0 / 0.6317 GB, free: 34.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2368/1.404, allocations: 73.99 MB / 0.704 GB, free: 8.133 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/1.404, allocations: 372.6 kB / 0.7043 GB, free: 7.688 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.415, allocations: 6.359 MB / 0.7105 GB, free: 1.32 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009198/1.415, allocations: 89.69 kB / 0.7106 GB, free: 1.227 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003098/1.419, allocations: 4.749 MB / 0.7153 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/1.42, allocations: 1.372 MB / 0.7166 GB, free: 11.02 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003243/1.424, allocations: 1.978 MB / 0.7185 GB, free: 9.027 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.424, allocations: 301.1 kB / 0.7188 GB, free: 8.73 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008204/1.432, allocations: 5.988 MB / 0.7247 GB, free: 2.734 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/1.444, allocations: 11.02 MB / 0.7354 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.249/1.693, allocations: 17.96 MB / 0.753 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.693, allocations: 47.34 kB / 0.753 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04036/1.733, allocations: 23.34 MB / 0.7758 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/1.734, allocations: 78.56 kB / 0.7759 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.734, allocations: 172.2 kB / 0.7761 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01969/1.753, allocations: 7.443 MB / 0.7833 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007136/1.761, allocations: 2.191 MB / 0.7855 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04193/1.803, allocations: 38.09 MB / 0.8227 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009162/1.812, allocations: 0.7426 MB / 0.8234 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/1.813, allocations: 0.5312 MB / 0.8239 GB, free: 112.9 MB / 0.5294 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.005348/1.819, allocations: 3.439 MB / 0.8273 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.82, allocations: 0.5706 MB / 0.8278 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02772/1.848, allocations: 16.96 MB / 0.8444 GB, free: 92.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.06e-05/1.848, allocations: 44 kB / 0.8444 GB, free: 92.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.733e-05/1.848, allocations: 16 kB / 0.8444 GB, free: 92.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.015e-05/1.848, allocations: 23.92 kB / 0.8445 GB, free: 92.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04879/1.897, allocations: 32.03 MB / 0.8757 GB, free: 59.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/1.897, allocations: 4.188 kB / 0.8757 GB, free: 59.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.9, allocations: 0.6123 MB / 0.8763 GB, free: 59.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01811/1.918, allocations: 7.015 MB / 0.8832 GB, free: 52.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/1.92, allocations: 63.98 kB / 0.8833 GB, free: 52.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04079/1.96, allocations: 36.3 MB / 0.9187 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.96, allocations: 3.984 kB / 0.9187 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.291/2.251, allocations: 24.6 MB / 0.9427 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/2.253, allocations: 0.6314 MB / 0.9433 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/2.255, allocations: 61.78 kB / 0.9434 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004051/2.259, allocations: 447.8 kB / 0.9438 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/2.26, allocations: 252.6 kB / 0.9441 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003833/2.26, allocations: 92.72 kB / 0.9442 GB, free: 182.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005588/2.266, allocations: 4.045 MB / 0.9481 GB, free: 182 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/2.266, allocations: 0 / 0.9481 GB, free: 182 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008965/2.275, allocations: 2.278 MB / 0.9503 GB, free: 181.7 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.001109/2.276, allocations: 280 kB / 0.9506 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02081/2.297, allocations: 14.89 MB / 0.9651 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/2.297, allocations: 0 / 0.9651 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/2.307, allocations: 6.712 MB / 0.9717 GB, free: 172.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005467/2.313, allocations: 0.8648 MB / 0.9725 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/2.343, allocations: 19.91 MB / 0.992 GB, free: 156.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004906/2.347, allocations: 5.266 MB / 0.9971 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005788/2.353, allocations: 3.017 MB / 1 GB, free: 150.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/2.355, allocations: 378 kB / 1 GB, free: 150 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/2.355, allocations: 0 / 1 GB, free: 150 MB / 0.545 GB Notification: Performance of Templates: time 0.1369/2.492, allocations: 108.6 MB / 1.106 GB, free: 43.4 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (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) diffSimulationResults("Modelica_trunk_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","/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) Reference file matches