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.001254/0.001254, allocations: 116.1 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2002, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.02533/0.2256, allocations: 26.61 MB / 436.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2395, allocations: 8.014 MB / 444.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.2416, allocations: 179.6 kB / 444.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01727/0.2589, allocations: 11.03 MB / 455.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006171/0.2651, allocations: 3.567 MB / 459.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.2692, allocations: 2.598 MB / 461.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.2794, allocations: 10.47 MB / 472.4 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/0.294, allocations: 15.79 MB / 488.2 MB, free: 2.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/0.2994, allocations: 5.221 MB / 493.4 MB, free: 13.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007049/0.3064, allocations: 6.798 MB / 0.4885 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001921/0.3084, allocations: 1.441 MB / 0.4899 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.3124, allocations: 2.724 MB / 0.4926 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004633/0.3171, allocations: 6.002 MB / 0.4984 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005841/0.3229, allocations: 6.833 MB / 0.5051 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01899/0.3419, allocations: 22.92 MB / 0.5275 GB, free: 14.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3419, allocations: 8 kB / 0.5275 GB, free: 14.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3419, allocations: 0 / 0.5275 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003212/0.3423, allocations: 0 / 0.5275 GB, free: 14.86 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.02623/0.3685, allocations: 13.96 MB / 0.5411 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3686, allocations: 12.03 kB / 0.5411 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3078/0.6763, allocations: 3.083 MB / 0.5442 GB, free: 113.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.6876, allocations: 6.949 MB / 0.5509 GB, free: 110.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.6879, allocations: 0.7514 MB / 0.5517 GB, free: 110.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.6897, allocations: 1.102 MB / 0.5527 GB, free: 109.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05046/0.7401, allocations: 33.91 MB / 0.5859 GB, free: 77.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.7404, allocations: 79.28 kB / 0.5859 GB, free: 77.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.7414, allocations: 459.7 kB / 0.5864 GB, free: 76.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006205/0.7477, allocations: 4.546 MB / 0.5908 GB, free: 72.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05477/0.8024, allocations: 31.99 MB / 0.6221 GB, free: 40.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/0.9218, allocations: 113.6 MB / 0.733 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0537/0.9756, allocations: 18.73 MB / 0.7512 GB, free: 1.668 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1852/1.161, allocations: 10.02 MB / 0.761 GB, free: 188.4 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/1.192, allocations: 32.31 MB / 0.7926 GB, free: 170.8 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.192, allocations: 89.47 kB / 0.7927 GB, free: 170.7 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=512): time 7.945e-06/1.192, allocations: 0 / 0.7927 GB, free: 170.7 MB / 0.5451 GB Notification: Performance of matching and sorting (n=773): time 0.5124/1.704, allocations: 163.1 MB / 0.9519 GB, free: 11.97 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/1.704, allocations: 210.1 kB / 0.9521 GB, free: 11.73 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1899/1.894, allocations: 7.964 MB / 0.9599 GB, free: 182.5 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.001671/1.896, allocations: 156.2 kB / 0.9601 GB, free: 182.4 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.002625/1.899, allocations: 6.924 MB / 0.9668 GB, free: 178.3 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002408/1.901, allocations: 2.733 MB / 0.9695 GB, free: 176.2 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004408/1.905, allocations: 3.037 MB / 0.9725 GB, free: 174.8 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 3.352e-05/1.906, allocations: 304.9 kB / 0.9728 GB, free: 174.5 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01302/1.919, allocations: 11.24 MB / 0.9837 GB, free: 169.9 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01559/1.934, allocations: 17.79 MB / 1.001 GB, free: 156.8 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02975/1.964, allocations: 30.24 MB / 1.031 GB, free: 127.9 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/1.964, allocations: 68 kB / 1.031 GB, free: 127.8 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.03513/1.999, allocations: 29.52 MB / 1.06 GB, free: 99.68 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/1.999, allocations: 104.2 kB / 1.06 GB, free: 99.57 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.999, allocations: 220 kB / 1.06 GB, free: 99.36 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/2, allocations: 315.4 kB / 1.06 GB, free: 99.05 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/2.017, allocations: 4.601 MB / 1.065 GB, free: 94.45 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002297/2.017, allocations: 454.3 kB / 1.065 GB, free: 94 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.028, allocations: 1.188 MB / 1.066 GB, free: 92.82 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/2.029, allocations: 0.746 MB / 1.067 GB, free: 92.07 MB / 0.5451 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.006337/2.035, allocations: 5.494 MB / 1.072 GB, free: 86.56 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/2.036, allocations: 0.8022 MB / 1.073 GB, free: 85.75 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/2.062, allocations: 21.36 MB / 1.094 GB, free: 64.31 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/2.062, allocations: 39.8 kB / 1.094 GB, free: 64.27 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/2.062, allocations: 0 / 1.094 GB, free: 64.27 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004795/2.067, allocations: 2.935 MB / 1.097 GB, free: 61.31 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/2.068, allocations: 120 kB / 1.097 GB, free: 61.19 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006452/2.074, allocations: 0.7955 MB / 1.098 GB, free: 60.39 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/2.076, allocations: 397.8 kB / 1.098 GB, free: 60 MB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03157/2.107, allocations: 21.93 MB / 1.12 GB, free: 38.13 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2176/2.325, allocations: 36.6 MB / 1.155 GB, free: 164.9 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01196/2.337, allocations: 10.66 MB / 1.166 GB, free: 161.5 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.005698/2.343, allocations: 4.979 MB / 1.171 GB, free: 159.8 MB / 0.5451 GB Notification: Performance of Backend: time 2.9e-07/2.343, allocations: 0 / 1.171 GB, free: 159.8 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.02144/2.364, allocations: 16.22 MB / 1.186 GB, free: 153.2 MB / 0.5451 GB Notification: Performance of SimCode: time 0.02805/2.392, allocations: 22.55 MB / 1.208 GB, free: 142.4 MB / 0.5451 GB Notification: Performance of Templates: time 0.4015/2.794, allocations: 189.2 MB / 1.393 GB, free: 181.2 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