Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.091/1.091, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008864/0.0008864, allocations: 102.6 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007381/0.0007381, allocations: 43.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1817, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.05184/0.2336, allocations: 81.45 MB / 455.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02981/0.2635, allocations: 16.63 MB / 471.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01273/0.2763, allocations: 375 kB / 472.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00937/0.2857, allocations: 6.297 MB / 478.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005416/0.2911, allocations: 2.708 MB / 481.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.2947, allocations: 2.18 MB / 483.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.3063, allocations: 12.73 MB / 496.2 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1756/0.4819, allocations: 8.287 MB / 0.4927 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.4859, allocations: 2.863 MB / 0.4954 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/0.49, allocations: 4.453 MB / 0.4998 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009019/0.491, allocations: 0.4922 MB / 0.5003 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.4939, allocations: 1.765 MB / 0.502 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002915/0.4968, allocations: 3.649 MB / 0.5056 GB, free: 8.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.5, allocations: 3.935 MB / 0.5094 GB, free: 6.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008397/0.5084, allocations: 12.76 MB / 0.5219 GB, free: 4.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5084, allocations: 0 / 0.5219 GB, free: 4.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.5084, allocations: 0 / 0.5219 GB, free: 4.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001957/0.5086, allocations: 0 / 0.5219 GB, free: 4.152 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.01374/0.5224, allocations: 8.939 MB / 0.5306 GB, free: 15.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.5224, allocations: 10.19 kB / 0.5306 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04241/0.5648, allocations: 4.85 MB / 0.5353 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.5785, allocations: 6.581 MB / 0.5418 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.5787, allocations: 434.8 kB / 0.5422 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008641/0.5796, allocations: 0.5867 MB / 0.5428 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/0.6055, allocations: 17.06 MB / 0.5594 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/0.6057, allocations: 75.92 kB / 0.5595 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006152/0.6063, allocations: 269.2 kB / 0.5597 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003915/0.6102, allocations: 2.663 MB / 0.5623 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/0.6358, allocations: 14.79 MB / 0.5768 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07729/0.7131, allocations: 64.63 MB / 0.6399 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/0.7338, allocations: 8.775 MB / 0.6485 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/0.7389, allocations: 5.067 MB / 0.6534 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1965/0.9355, allocations: 18.64 MB / 0.6716 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.9355, allocations: 65.12 kB / 0.6717 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=281): time 5.681e-06/0.9355, allocations: 3.094 kB / 0.6717 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=374): time 0.2241/1.16, allocations: 74.07 MB / 0.744 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/1.16, allocations: 379.8 kB / 0.7444 GB, free: 86.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/1.167, allocations: 6.417 MB / 0.7507 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008827/1.168, allocations: 84.52 kB / 0.7507 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.17, allocations: 4.764 MB / 0.7554 GB, free: 75.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.171, allocations: 1.374 MB / 0.7567 GB, free: 73.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002402/1.173, allocations: 1.984 MB / 0.7587 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.975e-05/1.174, allocations: 301.1 kB / 0.759 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005782/1.179, allocations: 5.99 MB / 0.7648 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/1.187, allocations: 11.02 MB / 0.7756 GB, free: 52.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/1.202, allocations: 17.96 MB / 0.7931 GB, free: 32.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.947e-05/1.202, allocations: 48 kB / 0.7932 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.03929/1.242, allocations: 23.34 MB / 0.8159 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000156/1.242, allocations: 86.59 kB / 0.816 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/1.242, allocations: 175.5 kB / 0.8162 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02048/1.263, allocations: 7.442 MB / 0.8235 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007016/1.27, allocations: 2.188 MB / 0.8256 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2084/1.478, allocations: 35.56 MB / 0.8603 GB, free: 220 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008582/1.487, allocations: 0.7439 MB / 0.8611 GB, free: 219.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.489, allocations: 0.5252 MB / 0.8616 GB, free: 219.8 MB / 0.5261 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.006479/1.495, allocations: 3.439 MB / 0.8649 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.497, allocations: 0.5721 MB / 0.8655 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03194/1.529, allocations: 16.96 MB / 0.882 GB, free: 212.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-05/1.529, allocations: 49.22 kB / 0.8821 GB, free: 212.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.687e-05/1.529, allocations: 19.22 kB / 0.8821 GB, free: 212.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.398e-05/1.529, allocations: 27.08 kB / 0.8821 GB, free: 212.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05563/1.585, allocations: 32.16 MB / 0.9135 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/1.585, allocations: 0 / 0.9135 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/1.588, allocations: 0.6069 MB / 0.9141 GB, free: 189.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01914/1.607, allocations: 7.111 MB / 0.9211 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007258/1.608, allocations: 68.23 kB / 0.9211 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03617/1.644, allocations: 33.84 MB / 0.9542 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.644, allocations: 10.56 kB / 0.9542 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4833/2.127, allocations: 197.1 MB / 1.147 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/2.131, allocations: 1.655 MB / 1.148 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008878/2.132, allocations: 67.7 kB / 1.148 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004111/2.136, allocations: 448.2 kB / 1.149 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.137, allocations: 249.3 kB / 1.149 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000343/2.137, allocations: 92 kB / 1.149 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004945/2.142, allocations: 4.088 MB / 1.153 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/2.142, allocations: 0 / 1.153 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009316/2.152, allocations: 3.17 MB / 1.156 GB, free: 179.5 MB / 0.5261 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.0008789/2.153, allocations: 270.8 kB / 1.156 GB, free: 179.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01679/2.169, allocations: 14.86 MB / 1.171 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/2.169, allocations: 0 / 1.171 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00806/2.177, allocations: 6.696 MB / 1.177 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/2.182, allocations: 0.8289 MB / 1.178 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/2.216, allocations: 27.41 MB / 1.205 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008342/2.224, allocations: 5.441 MB / 1.21 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006902/2.231, allocations: 3.058 MB / 1.213 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/2.233, allocations: 387.4 kB / 1.214 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/2.233, allocations: 0 / 1.214 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.3327/2.565, allocations: 153.6 MB / 1.364 GB, free: 193 MB / 0.5261 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches