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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 108.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001028, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2114, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.06283/0.2743, allocations: 81.06 MB / 488.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03325/0.3076, allocations: 16.56 MB / 0.4928 GB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01332/0.3209, allocations: 375 kB / 0.4932 GB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.3318, allocations: 6.273 MB / 0.4993 GB, free: 3.176 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.3381, allocations: 2.674 MB / 0.5019 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2011/0.5392, allocations: 2.171 MB / 0.5041 GB, free: 1.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.5536, allocations: 13.9 MB / 0.5176 GB, free: 1.605 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008635/0.5623, allocations: 8.272 MB / 0.5257 GB, free: 16.47 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004733/0.567, allocations: 2.851 MB / 0.5285 GB, free: 16.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006348/0.5734, allocations: 4.438 MB / 0.5328 GB, free: 15.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002637/0.5761, allocations: 0.4949 MB / 0.5333 GB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.5802, allocations: 1.759 MB / 0.535 GB, free: 15.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004174/0.5844, allocations: 3.638 MB / 0.5386 GB, free: 13.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005841/0.5902, allocations: 3.908 MB / 0.5424 GB, free: 12.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.6041, allocations: 12.74 MB / 0.5548 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.6041, allocations: 0 / 0.5548 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6042, allocations: 0 / 0.5548 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003896/0.6046, allocations: 0 / 0.5548 GB, free: 0.7734 MB / 394.7 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.0231/0.6277, allocations: 8.955 MB / 0.5636 GB, free: 7.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.6278, allocations: 12.59 kB / 0.5636 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0461/0.6739, allocations: 4.847 MB / 0.5683 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/0.6898, allocations: 6.255 MB / 0.5744 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.6901, allocations: 435.9 kB / 0.5749 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/0.6921, allocations: 0.5895 MB / 0.5754 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/0.725, allocations: 17.05 MB / 0.5921 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/0.7253, allocations: 79.83 kB / 0.5922 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/0.7268, allocations: 268.8 kB / 0.5924 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004268/0.731, allocations: 2.655 MB / 0.595 GB, free: 7.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/0.7597, allocations: 14.78 MB / 0.6095 GB, free: 8.828 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09083/0.8506, allocations: 64.52 MB / 0.6725 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02287/0.8735, allocations: 8.788 MB / 0.681 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006327/0.8798, allocations: 5.059 MB / 0.686 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3792/1.259, allocations: 18.65 MB / 0.7042 GB, free: 230.2 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.259, allocations: 67.34 kB / 0.7043 GB, free: 230.2 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=281): time 6.162e-06/1.259, allocations: 0 / 0.7043 GB, free: 230.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=374): time 0.2413/1.501, allocations: 73.98 MB / 0.7765 GB, free: 171.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/1.501, allocations: 376.6 kB / 0.7769 GB, free: 170.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00738/1.508, allocations: 6.375 MB / 0.7831 GB, free: 164.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009443/1.509, allocations: 81.7 kB / 0.7832 GB, free: 164.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.511, allocations: 4.75 MB / 0.7878 GB, free: 159.5 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.513, allocations: 1.377 MB / 0.7891 GB, free: 158.1 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002637/1.515, allocations: 1.976 MB / 0.7911 GB, free: 156.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/1.515, allocations: 305.1 kB / 0.7914 GB, free: 155.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006375/1.522, allocations: 5.992 MB / 0.7972 GB, free: 149.8 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008389/1.53, allocations: 11.01 MB / 0.808 GB, free: 136.3 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0163/1.546, allocations: 17.96 MB / 0.8255 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.547, allocations: 48 kB / 0.8256 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04211/1.589, allocations: 23.34 MB / 0.8484 GB, free: 92.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/1.589, allocations: 79.98 kB / 0.8484 GB, free: 92.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/1.589, allocations: 172 kB / 0.8486 GB, free: 92.26 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/1.61, allocations: 7.456 MB / 0.8559 GB, free: 84.79 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007089/1.617, allocations: 2.187 MB / 0.858 GB, free: 82.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04159/1.659, allocations: 35.57 MB / 0.8928 GB, free: 46.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007813/1.667, allocations: 0.7464 MB / 0.8935 GB, free: 45.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.668, allocations: 0.5273 MB / 0.894 GB, free: 45.35 MB / 0.5262 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.004653/1.673, allocations: 3.436 MB / 0.8974 GB, free: 41.9 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.674, allocations: 0.5708 MB / 0.8979 GB, free: 41.32 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03094/1.705, allocations: 16.95 MB / 0.9145 GB, free: 24.3 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/1.705, allocations: 47.98 kB / 0.9145 GB, free: 24.26 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.121e-05/1.705, allocations: 23.94 kB / 0.9145 GB, free: 24.23 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.909e-05/1.705, allocations: 15.94 kB / 0.9145 GB, free: 24.22 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2202/1.925, allocations: 32.14 MB / 0.9459 GB, free: 203.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/1.925, allocations: 6.562 kB / 0.9459 GB, free: 203.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/1.928, allocations: 0.6053 MB / 0.9465 GB, free: 203.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01967/1.948, allocations: 7.121 MB / 0.9535 GB, free: 202.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006344/1.949, allocations: 59.56 kB / 0.9535 GB, free: 202.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0383/1.987, allocations: 33.84 MB / 0.9866 GB, free: 172.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.987, allocations: 3.938 kB / 0.9866 GB, free: 172.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5287/2.516, allocations: 195.9 MB / 1.178 GB, free: 181 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/2.517, allocations: 0.6323 MB / 1.179 GB, free: 180.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/2.519, allocations: 70.16 kB / 1.179 GB, free: 180.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004383/2.523, allocations: 445.3 kB / 1.179 GB, free: 180.8 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.524, allocations: 245.2 kB / 1.179 GB, free: 180.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003897/2.525, allocations: 96.36 kB / 1.179 GB, free: 180.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.004929/2.53, allocations: 4.042 MB / 1.183 GB, free: 179.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.032e-06/2.53, allocations: 3.906 kB / 1.183 GB, free: 179.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01064/2.54, allocations: 3.173 MB / 1.186 GB, free: 179.1 MB / 0.5262 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.0009951/2.541, allocations: 281.1 kB / 1.187 GB, free: 179 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01962/2.561, allocations: 14.85 MB / 1.201 GB, free: 169.7 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.561, allocations: 4 kB / 1.201 GB, free: 169.7 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.009569/2.571, allocations: 6.699 MB / 1.208 GB, free: 163.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/2.576, allocations: 0.829 MB / 1.209 GB, free: 163.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/2.613, allocations: 27.34 MB / 1.235 GB, free: 138.8 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007053/2.62, allocations: 5.416 MB / 1.241 GB, free: 134.7 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0091/2.629, allocations: 3.057 MB / 1.244 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/2.632, allocations: 395.4 kB / 1.244 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of SimCode: time 7.92e-07/2.632, allocations: 0 / 1.244 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.3661/2.998, allocations: 153.4 MB / 1.394 GB, free: 176.7 MB / 0.5262 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches