Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 205.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002288, allocations: 4 kB / 307.7 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09558, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.233/0.3286, allocations: 53.64 MB / 412.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03277/0.3614, allocations: 11.72 MB / 424.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01411/0.3756, allocations: 247.3 kB / 424.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.3778, allocations: 489.5 kB / 425.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.3841, allocations: 2.009 MB / 427.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.3867, allocations: 0.9986 MB / 428.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.3981, allocations: 8.778 MB / 437.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.4098, allocations: 7.362 MB / 444.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.4136, allocations: 1.517 MB / 446 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00496/0.4186, allocations: 2.562 MB / 448.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.4199, allocations: 188 kB / 448.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.4235, allocations: 1.396 MB / 450.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.4268, allocations: 2.201 MB / 452.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005495/0.4323, allocations: 2.47 MB / 454.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4424, allocations: 8.837 MB / 463.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4425, allocations: 3.938 kB / 463.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4425, allocations: 0 / 463.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000306/0.4428, allocations: 0 / 463.7 MB, free: 2.289 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.0113/0.4541, allocations: 4.91 MB / 468.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4542, allocations: 8.031 kB / 468.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.4665, allocations: 2.587 MB / 471.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008054/0.4746, allocations: 3.69 MB / 474.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.4749, allocations: 316.2 kB / 475.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.4762, allocations: 435.6 kB / 475.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/0.4999, allocations: 12.45 MB / 488 MB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.5001, allocations: 47.58 kB / 488.1 MB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005223/0.5007, allocations: 187.9 kB / 488.3 MB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003192/0.5039, allocations: 2.031 MB / 490.3 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.022/0.5259, allocations: 10.6 MB / 0.4892 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2495/0.7754, allocations: 44.37 MB / 0.5325 GB, free: 134.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/0.7896, allocations: 4.884 MB / 0.5373 GB, free: 134 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.7924, allocations: 2.009 MB / 0.5392 GB, free: 134 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.8035, allocations: 7.195 MB / 0.5462 GB, free: 130.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.8036, allocations: 55.22 kB / 0.5463 GB, free: 130.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.03e-06/0.8036, allocations: 0 / 0.5463 GB, free: 130.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06381/0.8674, allocations: 19.59 MB / 0.5654 GB, free: 124.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.8675, allocations: 203.8 kB / 0.5656 GB, free: 124.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/0.8733, allocations: 4.459 MB / 0.57 GB, free: 121.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004366/0.8737, allocations: 60.98 kB / 0.57 GB, free: 121.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.8755, allocations: 3.511 MB / 0.5735 GB, free: 118.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/0.8763, allocations: 0.8308 MB / 0.5743 GB, free: 118 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006102/0.8769, allocations: 0.5753 MB / 0.5748 GB, free: 117.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.877, allocations: 313 kB / 0.5751 GB, free: 117.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/0.88, allocations: 2.37 MB / 0.5775 GB, free: 115.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004259/0.8843, allocations: 6.158 MB / 0.5835 GB, free: 107.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008373/0.8927, allocations: 9.19 MB / 0.5924 GB, free: 96.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.032e-05/0.8928, allocations: 40 kB / 0.5925 GB, free: 96.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01661/0.9094, allocations: 9.547 MB / 0.6018 GB, free: 86.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/0.9095, allocations: 66.75 kB / 0.6019 GB, free: 86.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.9097, allocations: 132 kB / 0.602 GB, free: 86.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.9136, allocations: 1.374 MB / 0.6033 GB, free: 84.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/0.9182, allocations: 1.474 MB / 0.6048 GB, free: 83.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009735/0.928, allocations: 7.974 MB / 0.6126 GB, free: 75.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/0.9332, allocations: 355.3 kB / 0.6129 GB, free: 75.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009041/0.9342, allocations: 392 kB / 0.6133 GB, free: 74.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003899/0.9381, allocations: 2.486 MB / 0.6157 GB, free: 72.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007658/0.9388, allocations: 398.8 kB / 0.6161 GB, free: 71.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007634/0.9465, allocations: 4.13 MB / 0.6201 GB, free: 67.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/0.9465, allocations: 28 kB / 0.6201 GB, free: 67.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.9466, allocations: 11.94 kB / 0.6202 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.9466, allocations: 8.859 kB / 0.6202 GB, free: 67.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.9645, allocations: 10.37 MB / 0.6303 GB, free: 57.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/0.9646, allocations: 8 kB / 0.6303 GB, free: 57.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.9661, allocations: 347.4 kB / 0.6306 GB, free: 56.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003612/0.9697, allocations: 1.152 MB / 0.6318 GB, free: 55.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.97, allocations: 40.69 kB / 0.6318 GB, free: 55.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008154/0.9782, allocations: 6.679 MB / 0.6383 GB, free: 48.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.9782, allocations: 11.94 kB / 0.6383 GB, free: 48.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.9884, allocations: 6.921 MB / 0.6451 GB, free: 41.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.9898, allocations: 459.8 kB / 0.6455 GB, free: 41.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.9902, allocations: 40 kB / 0.6456 GB, free: 41.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.9918, allocations: 120.4 kB / 0.6457 GB, free: 41.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.9921, allocations: 141.1 kB / 0.6458 GB, free: 40.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.9923, allocations: 63.94 kB / 0.6459 GB, free: 40.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003708/0.996, allocations: 2.802 MB / 0.6486 GB, free: 38.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.996, allocations: 0 / 0.6486 GB, free: 38.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005604/1.002, allocations: 1.194 MB / 0.6498 GB, free: 36.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006154/1.002, allocations: 230 kB / 0.65 GB, free: 36.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008069/1.01, allocations: 5.751 MB / 0.6556 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.01, allocations: 3.984 kB / 0.6556 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002415/1.013, allocations: 1.884 MB / 0.6575 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005822/1.019, allocations: 0.5198 MB / 0.658 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/1.037, allocations: 13.64 MB / 0.6713 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004051/1.041, allocations: 3.867 MB / 0.6751 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005427/1.046, allocations: 1.926 MB / 0.6769 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009565/1.047, allocations: 267.4 kB / 0.6772 GB, free: 8.695 MB / 446.1 MB Notification: Performance of SimCode: time 1.873e-06/1.047, allocations: 0 / 0.6772 GB, free: 8.695 MB / 446.1 MB Notification: Performance of Templates: time 0.2857/1.333, allocations: 43.23 MB / 0.7194 GB, free: 136.3 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches