Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_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.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 118.3 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 214.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.212, allocations: 50.54 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.02617/0.2382, allocations: 26.63 MB / 436.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.2523, allocations: 8.007 MB / 444.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003019/0.2553, allocations: 183.6 kB / 444.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01839/0.2737, allocations: 11.03 MB / 455.8 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007483/0.2812, allocations: 3.695 MB / 459.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.2859, allocations: 2.601 MB / 462.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01233/0.2982, allocations: 10.47 MB / 472.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01795/0.3162, allocations: 15.79 MB / 488.4 MB, free: 2.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007483/0.3237, allocations: 5.217 MB / 493.6 MB, free: 13.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009723/0.3335, allocations: 6.806 MB / 0.4886 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003408/0.3369, allocations: 1.438 MB / 0.4901 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005771/0.3427, allocations: 2.72 MB / 0.4927 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006522/0.3492, allocations: 6.006 MB / 0.4986 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007821/0.3571, allocations: 6.829 MB / 0.5052 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02211/0.3792, allocations: 23 MB / 0.5277 GB, free: 14.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3792, allocations: 0 / 0.5277 GB, free: 14.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3792, allocations: 0 / 0.5277 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004531/0.3797, allocations: 0 / 0.5277 GB, free: 14.71 MB / 462.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.02901/0.4087, allocations: 14.3 MB / 0.5417 GB, free: 292 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4088, allocations: 8.031 kB / 0.5417 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3303/0.7391, allocations: 3.149 MB / 0.5448 GB, free: 113.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.7511, allocations: 6.986 MB / 0.5516 GB, free: 110.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004531/0.7516, allocations: 0.743 MB / 0.5523 GB, free: 110.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003786/0.7554, allocations: 1.104 MB / 0.5534 GB, free: 109.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05909/0.8145, allocations: 33.9 MB / 0.5865 GB, free: 77.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/0.8148, allocations: 83.27 kB / 0.5866 GB, free: 76.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/0.8163, allocations: 450 kB / 0.587 GB, free: 76.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005286/0.8216, allocations: 4.559 MB / 0.5915 GB, free: 72.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0553/0.8769, allocations: 31.99 MB / 0.6227 GB, free: 40.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1285/1.005, allocations: 113.8 MB / 0.7338 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05337/1.059, allocations: 18.74 MB / 0.7521 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1932/1.252, allocations: 10.01 MB / 0.7619 GB, free: 188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03449/1.287, allocations: 32.34 MB / 0.7934 GB, free: 170.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/1.287, allocations: 86.72 kB / 0.7935 GB, free: 170.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=512): time 7.394e-06/1.287, allocations: 0 / 0.7935 GB, free: 170.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=773): time 0.5093/1.796, allocations: 163.7 MB / 0.9534 GB, free: 11.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/1.796, allocations: 214.1 kB / 0.9536 GB, free: 11.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1967/1.993, allocations: 7.978 MB / 0.9614 GB, free: 182.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001783/1.995, allocations: 146.4 kB / 0.9615 GB, free: 182.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/1.998, allocations: 7.2 MB / 0.9686 GB, free: 179.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002589/2, allocations: 2.871 MB / 0.9714 GB, free: 176.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004628/2.005, allocations: 3.054 MB / 0.9743 GB, free: 175.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/2.005, allocations: 304.9 kB / 0.9746 GB, free: 175.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0131/2.018, allocations: 11.24 MB / 0.9856 GB, free: 170.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/2.034, allocations: 17.79 MB / 1.003 GB, free: 157.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02979/2.063, allocations: 30.24 MB / 1.033 GB, free: 128.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/2.064, allocations: 64 kB / 1.033 GB, free: 128.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.03752/2.101, allocations: 29.58 MB / 1.061 GB, free: 99.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/2.101, allocations: 100 kB / 1.062 GB, free: 99.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/2.101, allocations: 220 kB / 1.062 GB, free: 99.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/2.102, allocations: 312 kB / 1.062 GB, free: 99.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01833/2.12, allocations: 4.598 MB / 1.067 GB, free: 94.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002865/2.12, allocations: 450.3 kB / 1.067 GB, free: 94.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/2.131, allocations: 1.191 MB / 1.068 GB, free: 93.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/2.133, allocations: 0.746 MB / 1.069 GB, free: 92.3 MB / 0.545 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.007202/2.14, allocations: 5.491 MB / 1.074 GB, free: 86.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/2.142, allocations: 0.8382 MB / 1.075 GB, free: 85.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02637/2.168, allocations: 21.37 MB / 1.096 GB, free: 64.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.414e-05/2.168, allocations: 39.8 kB / 1.096 GB, free: 64.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/2.168, allocations: 0 / 1.096 GB, free: 64.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004811/2.173, allocations: 2.975 MB / 1.099 GB, free: 61.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/2.175, allocations: 124.5 kB / 1.099 GB, free: 61.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006703/2.181, allocations: 0.7992 MB / 1.1 GB, free: 60.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/2.183, allocations: 389.1 kB / 1.1 GB, free: 60.17 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03238/2.215, allocations: 21.92 MB / 1.122 GB, free: 38.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.227/2.442, allocations: 36.66 MB / 1.157 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01276/2.455, allocations: 10.66 MB / 1.168 GB, free: 161.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006797/2.462, allocations: 4.971 MB / 1.173 GB, free: 159.6 MB / 0.545 GB Notification: Performance of Backend: time 8.51e-07/2.462, allocations: 0 / 1.173 GB, free: 159.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02271/2.485, allocations: 16.22 MB / 1.188 GB, free: 153 MB / 0.545 GB Notification: Performance of SimCode: time 0.02954/2.514, allocations: 22.93 MB / 1.211 GB, free: 141.2 MB / 0.545 GB Notification: Performance of Templates: time 0.4063/2.921, allocations: 189.2 MB / 1.396 GB, free: 180 MB / 0.5607 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches