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.001533/0.001533, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.209, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01306/0.222, allocations: 13.44 MB / 423.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008035/0.2301, allocations: 4.877 MB / 428.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.2311, allocations: 95.69 kB / 428.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006593/0.2377, allocations: 4.167 MB / 432.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003674/0.2414, allocations: 2.113 MB / 434.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.2433, allocations: 1.103 MB / 435.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.2496, allocations: 6.056 MB / 441.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.2545, allocations: 5.291 MB / 447.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.2568, allocations: 2.15 MB / 449.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.2599, allocations: 2.871 MB / 452.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007473/0.2606, allocations: 0.4922 MB / 452.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.263, allocations: 1.623 MB / 454.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.265, allocations: 2.588 MB / 456.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.2676, allocations: 2.891 MB / 459.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008575/0.2762, allocations: 9.485 MB / 469.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2762, allocations: 0 / 469.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2762, allocations: 4 kB / 469.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.2764, allocations: 0 / 469.2 MB, free: 6.133 MB / 382.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.01009/0.2865, allocations: 6.005 MB / 475.2 MB, free: 52 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2865, allocations: 8.031 kB / 475.2 MB, free: 44 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.2971, allocations: 2.54 MB / 477.7 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007761/0.3049, allocations: 3.761 MB / 481.5 MB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.3051, allocations: 308.3 kB / 481.8 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008197/0.306, allocations: 439.6 kB / 482.2 MB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.3248, allocations: 12.41 MB / 494.6 MB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.3249, allocations: 59.44 kB / 494.7 MB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004553/0.3254, allocations: 183.9 kB / 494.9 MB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002927/0.3283, allocations: 2.035 MB / 496.9 MB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.3471, allocations: 10.56 MB / 0.4956 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/0.3932, allocations: 44.13 MB / 0.5387 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1808/0.5741, allocations: 4.847 MB / 0.5434 GB, free: 122.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.5762, allocations: 2.009 MB / 0.5454 GB, free: 121.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00831/0.5845, allocations: 7.196 MB / 0.5524 GB, free: 117.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.5846, allocations: 57.22 kB / 0.5525 GB, free: 117.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 4.509e-06/0.5846, allocations: 1.078 kB / 0.5525 GB, free: 117.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.05687/0.6414, allocations: 19.5 MB / 0.5715 GB, free: 103.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.6415, allocations: 209.8 kB / 0.5717 GB, free: 103.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/0.6456, allocations: 4.456 MB / 0.576 GB, free: 98.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.6458, allocations: 61.7 kB / 0.5761 GB, free: 98.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.647, allocations: 3.513 MB / 0.5795 GB, free: 95.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.6475, allocations: 0.8323 MB / 0.5803 GB, free: 94.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.6487, allocations: 1.341 MB / 0.5817 GB, free: 93.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.6488, allocations: 301.1 kB / 0.5819 GB, free: 92.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.6515, allocations: 2.371 MB / 0.5843 GB, free: 90.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/0.6551, allocations: 6.174 MB / 0.5903 GB, free: 82.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006887/0.662, allocations: 9.183 MB / 0.5993 GB, free: 71.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.805e-05/0.662, allocations: 40 kB / 0.5993 GB, free: 71.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01328/0.6753, allocations: 9.548 MB / 0.6086 GB, free: 61.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.6754, allocations: 64.06 kB / 0.6087 GB, free: 61.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.841e-05/0.6755, allocations: 132 kB / 0.6088 GB, free: 61.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/0.6792, allocations: 1.374 MB / 0.6101 GB, free: 60.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.6829, allocations: 1.478 MB / 0.6116 GB, free: 58.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009611/0.6925, allocations: 8.467 MB / 0.6199 GB, free: 50.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/0.6968, allocations: 359.4 kB / 0.6202 GB, free: 49.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004794/0.6972, allocations: 396 kB / 0.6206 GB, free: 49.4 MB / 462.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.002624/0.6999, allocations: 2.493 MB / 0.623 GB, free: 46.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/0.7004, allocations: 398.8 kB / 0.6234 GB, free: 46.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007142/0.7075, allocations: 4.13 MB / 0.6274 GB, free: 42.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.7076, allocations: 11.91 kB / 0.6274 GB, free: 42.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.7076, allocations: 3.984 kB / 0.6274 GB, free: 42.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/0.7082, allocations: 443.8 kB / 0.6279 GB, free: 41.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.7086, allocations: 39.98 kB / 0.6279 GB, free: 41.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7101, allocations: 111.9 kB / 0.628 GB, free: 41.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.7104, allocations: 141.8 kB / 0.6281 GB, free: 41.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007598/0.718, allocations: 4.555 MB / 0.6326 GB, free: 37.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005882/0.7239, allocations: 5.773 MB / 0.6382 GB, free: 31.28 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001556/0.7254, allocations: 1.537 MB / 0.6397 GB, free: 29.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002976/0.7284, allocations: 2.791 MB / 0.6425 GB, free: 26.95 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.7284, allocations: 8 kB / 0.6425 GB, free: 26.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007333/0.7358, allocations: 4.754 MB / 0.6471 GB, free: 22.23 MB / 462.1 MB Notification: Performance of SimCode: time 0.01325/0.7491, allocations: 10.91 MB / 0.6578 GB, free: 11.28 MB / 462.1 MB Notification: Performance of Templates: time 0.08685/0.8359, allocations: 54.2 MB / 0.7107 GB, free: 5.312 MB / 0.4981 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/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