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.00154/0.00154, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001158, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2117, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01745/0.2292, allocations: 18.02 MB / 428 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.2394, allocations: 6.041 MB / 434 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.2415, allocations: 143.6 kB / 434.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009988/0.2515, allocations: 6.242 MB / 440.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.2566, allocations: 2.891 MB / 443.3 MB, free: 112 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.2606, allocations: 2.277 MB / 445.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.272, allocations: 9.689 MB / 455.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009046/0.2811, allocations: 8.419 MB / 463.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.2853, allocations: 3.202 MB / 466.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005362/0.2907, allocations: 4.164 MB / 471 MB, free: 4.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.2923, allocations: 0.7187 MB / 471.8 MB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.2961, allocations: 1.889 MB / 473.6 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004037/0.3002, allocations: 3.839 MB / 477.5 MB, free: 13.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005366/0.3056, allocations: 4.13 MB / 481.6 MB, free: 9.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.3179, allocations: 13.21 MB / 494.8 MB, free: 12.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3179, allocations: 0 / 494.8 MB, free: 12.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3179, allocations: 0 / 494.8 MB, free: 12.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001346/0.3181, allocations: 3.938 kB / 494.8 MB, free: 12.34 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.01567/0.3337, allocations: 9.141 MB / 0.4922 GB, free: 3.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3338, allocations: 8.031 kB / 0.4922 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04422/0.378, allocations: 4.896 MB / 0.4969 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.3915, allocations: 6.41 MB / 0.5032 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.3918, allocations: 435.7 kB / 0.5036 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.3928, allocations: 0.5896 MB / 0.5042 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/0.4183, allocations: 17.04 MB / 0.5208 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/0.4184, allocations: 83.41 kB / 0.5209 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006194/0.4191, allocations: 275.8 kB / 0.5212 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004081/0.4232, allocations: 2.65 MB / 0.5238 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.4485, allocations: 14.79 MB / 0.5382 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3851/0.8336, allocations: 64.35 MB / 0.601 GB, free: 66.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/0.8533, allocations: 8.775 MB / 0.6096 GB, free: 57.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004476/0.8578, allocations: 5.073 MB / 0.6146 GB, free: 52.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02148/0.8793, allocations: 18.66 MB / 0.6328 GB, free: 33.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8794, allocations: 56.56 kB / 0.6329 GB, free: 33.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 5.17e-06/0.8794, allocations: 0 / 0.6329 GB, free: 33.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2449/1.124, allocations: 74.36 MB / 0.7055 GB, free: 7.551 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.124, allocations: 372.9 kB / 0.7058 GB, free: 7.105 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009643/1.134, allocations: 6.379 MB / 0.7121 GB, free: 0.832 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000922/1.135, allocations: 85.7 kB / 0.7121 GB, free: 0.7422 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00342/1.139, allocations: 4.93 MB / 0.7169 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/1.14, allocations: 1.438 MB / 0.7184 GB, free: 10.57 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004046/1.144, allocations: 1.995 MB / 0.7203 GB, free: 8.562 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/1.145, allocations: 305.1 kB / 0.7206 GB, free: 8.262 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008852/1.153, allocations: 5.988 MB / 0.7264 GB, free: 2.266 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01284/1.166, allocations: 11.02 MB / 0.7372 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2062/1.372, allocations: 17.97 MB / 0.7547 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.373, allocations: 51.12 kB / 0.7548 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.0387/1.411, allocations: 23.36 MB / 0.7776 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.556e-05/1.411, allocations: 76 kB / 0.7777 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/1.412, allocations: 172 kB / 0.7778 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02015/1.432, allocations: 7.456 MB / 0.7851 GB, free: 154.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.438, allocations: 2.191 MB / 0.7873 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04175/1.48, allocations: 38.1 MB / 0.8245 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007615/1.488, allocations: 0.7483 MB / 0.8252 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008758/1.488, allocations: 0.5195 MB / 0.8257 GB, free: 112.6 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.00409/1.493, allocations: 3.439 MB / 0.8291 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009668/1.494, allocations: 0.6008 MB / 0.8297 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02941/1.523, allocations: 16.95 MB / 0.8462 GB, free: 91.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-05/1.523, allocations: 15.94 kB / 0.8462 GB, free: 91.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.523, allocations: 4 kB / 0.8462 GB, free: 91.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.524, allocations: 0.6566 MB / 0.8469 GB, free: 91.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.525, allocations: 60 kB / 0.8469 GB, free: 91.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003726/1.529, allocations: 451.2 kB / 0.8474 GB, free: 90.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009892/1.53, allocations: 333.2 kB / 0.8477 GB, free: 90.51 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02475/1.555, allocations: 15.43 MB / 0.8627 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0164/1.571, allocations: 15.94 MB / 0.8783 GB, free: 59.11 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004863/1.576, allocations: 5.041 MB / 0.8832 GB, free: 54.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004889/1.581, allocations: 4.04 MB / 0.8872 GB, free: 50.02 MB / 0.5294 GB Notification: Performance of Backend: time 4.01e-07/1.581, allocations: 0 / 0.8872 GB, free: 50.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.597, allocations: 10.54 MB / 0.8975 GB, free: 39.53 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02/1.617, allocations: 16.51 MB / 0.9136 GB, free: 22.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.3275/1.944, allocations: 126.5 MB / 1.037 GB, free: 112.7 MB / 0.5451 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/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