Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 110.9 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 190.6 kB / 18.68 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009771/0.0009771, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2106, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.0256/0.2362, allocations: 26.72 MB / 428.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.2502, allocations: 7.999 MB / 436.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.2533, allocations: 179.6 kB / 436.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.2713, allocations: 11.09 MB / 447.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007432/0.2788, allocations: 3.733 MB / 451.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.2834, allocations: 2.609 MB / 453.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01149/0.2949, allocations: 10.34 MB / 464.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01774/0.3126, allocations: 15.78 MB / 479.9 MB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00726/0.3199, allocations: 5.225 MB / 485.1 MB, free: 4.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009268/0.3292, allocations: 6.806 MB / 491.9 MB, free: 14.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/0.3329, allocations: 1.434 MB / 493.3 MB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/0.3389, allocations: 2.74 MB / 496.1 MB, free: 9.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006655/0.3456, allocations: 6.037 MB / 0.4903 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009155/0.3548, allocations: 6.86 MB / 0.497 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02163/0.3764, allocations: 23.08 MB / 0.5196 GB, free: 5.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3765, allocations: 0 / 0.5196 GB, free: 5.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3765, allocations: 0 / 0.5196 GB, free: 5.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003863/0.3769, allocations: 0 / 0.5196 GB, free: 5.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.02734/0.4042, allocations: 14.31 MB / 0.5336 GB, free: 7.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4043, allocations: 8.031 kB / 0.5336 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4155, allocations: 3.152 MB / 0.5366 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3393/0.7548, allocations: 7.056 MB / 0.5435 GB, free: 116.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/0.7553, allocations: 0.7438 MB / 0.5443 GB, free: 116.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/0.7583, allocations: 1.103 MB / 0.5453 GB, free: 116.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05529/0.8136, allocations: 33.88 MB / 0.5784 GB, free: 88.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.8139, allocations: 80.88 kB / 0.5785 GB, free: 88.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.815, allocations: 456.5 kB / 0.5789 GB, free: 88.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005263/0.8202, allocations: 4.549 MB / 0.5834 GB, free: 83.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05355/0.8738, allocations: 31.96 MB / 0.6146 GB, free: 51.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/0.9934, allocations: 113.8 MB / 0.7257 GB, free: 0.6523 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2249/1.218, allocations: 18.7 MB / 0.7439 GB, free: 178 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01042/1.229, allocations: 10.02 MB / 0.7537 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03291/1.262, allocations: 32.27 MB / 0.7852 GB, free: 157 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/1.262, allocations: 94.03 kB / 0.7853 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=512): time 7.083e-06/1.262, allocations: 0 / 0.7853 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=773): time 0.7027/1.965, allocations: 166.4 MB / 0.9478 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.965, allocations: 211.9 kB / 0.948 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008371/1.973, allocations: 7.982 MB / 0.9558 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001297/1.974, allocations: 146.3 kB / 0.956 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.977, allocations: 7.2 MB / 0.963 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.979, allocations: 2.863 MB / 0.9658 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00442/1.984, allocations: 3.064 MB / 0.9688 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.323e-05/1.984, allocations: 304.4 kB / 0.9691 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01284/1.997, allocations: 11.22 MB / 0.98 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01496/2.012, allocations: 17.78 MB / 0.9974 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02989/2.041, allocations: 30.22 MB / 1.027 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/2.042, allocations: 64 kB / 1.027 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.03494/2.077, allocations: 29.56 MB / 1.056 GB, free: 79.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/2.077, allocations: 100 kB / 1.056 GB, free: 79.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/2.077, allocations: 224.1 kB / 1.056 GB, free: 79.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/2.077, allocations: 312 kB / 1.056 GB, free: 79.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01701/2.094, allocations: 4.589 MB / 1.061 GB, free: 74.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002273/2.094, allocations: 454.4 kB / 1.061 GB, free: 74.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.104, allocations: 1.182 MB / 1.063 GB, free: 73.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/2.106, allocations: 0.7382 MB / 1.063 GB, free: 72.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006582/2.112, allocations: 5.507 MB / 1.069 GB, free: 66.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/2.114, allocations: 0.8499 MB / 1.069 GB, free: 65.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02557/2.139, allocations: 21.34 MB / 1.09 GB, free: 44.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/2.139, allocations: 35.86 kB / 1.09 GB, free: 44.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/2.139, allocations: 4 kB / 1.09 GB, free: 44.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004685/2.144, allocations: 2.982 MB / 1.093 GB, free: 41.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/2.146, allocations: 124 kB / 1.093 GB, free: 41.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006169/2.152, allocations: 0.7839 MB / 1.094 GB, free: 40.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001546/2.153, allocations: 401 kB / 1.094 GB, free: 40.23 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03137/2.185, allocations: 21.89 MB / 1.116 GB, free: 18.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2253/2.41, allocations: 36.61 MB / 1.152 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01109/2.421, allocations: 10.64 MB / 1.162 GB, free: 159.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00579/2.427, allocations: 4.98 MB / 1.167 GB, free: 158 MB / 0.545 GB Notification: Performance of Backend: time 3.8e-07/2.427, allocations: 0 / 1.167 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02249/2.449, allocations: 16.2 MB / 1.183 GB, free: 151.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.02948/2.479, allocations: 22.93 MB / 1.205 GB, free: 134.9 MB / 0.545 GB Notification: Performance of Templates: time 0.4035/2.882, allocations: 189.3 MB / 1.39 GB, free: 153.4 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches