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.001531/0.001531, allocations: 107.9 kB / 17.74 MB, free: 5.336 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.001797/0.001797, allocations: 198.5 kB / 18.68 MB, free: 4.41 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009699/0.0009699, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2118, allocations: 49.42 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.02574/0.2375, allocations: 26.72 MB / 428.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.2542, allocations: 8.004 MB / 436.1 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004231/0.2585, allocations: 179.6 kB / 436.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.2774, allocations: 11.08 MB / 447.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008669/0.2861, allocations: 3.74 MB / 451.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005382/0.2915, allocations: 2.605 MB / 453.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.3039, allocations: 10.34 MB / 464.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01856/0.3225, allocations: 15.78 MB / 479.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008008/0.3305, allocations: 5.229 MB / 485.1 MB, free: 4.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009414/0.34, allocations: 6.818 MB / 491.9 MB, free: 14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003675/0.3437, allocations: 1.434 MB / 493.3 MB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00623/0.3499, allocations: 2.736 MB / 496.1 MB, free: 9.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.3572, allocations: 6.03 MB / 0.4903 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009916/0.3672, allocations: 6.864 MB / 0.497 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02323/0.3904, allocations: 23.01 MB / 0.5195 GB, free: 5.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3904, allocations: 0 / 0.5195 GB, free: 5.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3905, allocations: 0 / 0.5195 GB, free: 5.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005758/0.391, allocations: 0 / 0.5195 GB, free: 5.809 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.03571/0.4268, allocations: 13.98 MB / 0.5332 GB, free: 7.727 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4268, allocations: 8.031 kB / 0.5332 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.4408, allocations: 3.074 MB / 0.5362 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3293/0.7701, allocations: 7.029 MB / 0.543 GB, free: 117.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.7706, allocations: 0.745 MB / 0.5438 GB, free: 117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002936/0.7735, allocations: 1.104 MB / 0.5448 GB, free: 116.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05629/0.8298, allocations: 33.89 MB / 0.5779 GB, free: 89.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/0.83, allocations: 82.39 kB / 0.578 GB, free: 89.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/0.8311, allocations: 456.4 kB / 0.5784 GB, free: 89.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005698/0.8369, allocations: 4.549 MB / 0.5829 GB, free: 84.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05796/0.8948, allocations: 31.95 MB / 0.6141 GB, free: 52.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1383/1.033, allocations: 113.6 MB / 0.725 GB, free: 1.223 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2391/1.272, allocations: 18.69 MB / 0.7433 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01059/1.283, allocations: 10.02 MB / 0.753 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03815/1.321, allocations: 32.24 MB / 0.7845 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/1.321, allocations: 86.41 kB / 0.7846 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=512): time 7.784e-06/1.321, allocations: 0 / 0.7846 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=773): time 0.7645/2.086, allocations: 165.8 MB / 0.9465 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/2.086, allocations: 215.3 kB / 0.9467 GB, free: 166 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008338/2.094, allocations: 7.967 MB / 0.9545 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/2.096, allocations: 149.2 kB / 0.9547 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/2.098, allocations: 6.931 MB / 0.9614 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002621/2.101, allocations: 2.731 MB / 0.9641 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004554/2.105, allocations: 3.043 MB / 0.9671 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.319e-05/2.105, allocations: 301.1 kB / 0.9673 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01318/2.119, allocations: 11.22 MB / 0.9783 GB, free: 151 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01512/2.134, allocations: 17.78 MB / 0.9957 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02957/2.163, allocations: 30.22 MB / 1.025 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/2.164, allocations: 64 kB / 1.025 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.03886/2.202, allocations: 29.52 MB / 1.054 GB, free: 80.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/2.203, allocations: 100 kB / 1.054 GB, free: 80.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/2.203, allocations: 220 kB / 1.054 GB, free: 80.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/2.203, allocations: 312 kB / 1.055 GB, free: 79.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01932/2.222, allocations: 4.593 MB / 1.059 GB, free: 75.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002451/2.223, allocations: 454.3 kB / 1.06 GB, free: 74.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.234, allocations: 1.174 MB / 1.061 GB, free: 73.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/2.236, allocations: 0.7497 MB / 1.061 GB, free: 72.85 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.007609/2.243, allocations: 5.492 MB / 1.067 GB, free: 67.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/2.245, allocations: 0.8061 MB / 1.068 GB, free: 66.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/2.272, allocations: 21.35 MB / 1.088 GB, free: 45.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/2.272, allocations: 35.86 kB / 1.089 GB, free: 45.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/2.272, allocations: 0 / 1.089 GB, free: 45.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006196/2.278, allocations: 2.941 MB / 1.091 GB, free: 42.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/2.28, allocations: 124 kB / 1.091 GB, free: 41.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007249/2.287, allocations: 0.7839 MB / 1.092 GB, free: 41.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001477/2.288, allocations: 397.1 kB / 1.093 GB, free: 40.8 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03314/2.321, allocations: 21.9 MB / 1.114 GB, free: 18.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2288/2.55, allocations: 36.57 MB / 1.15 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01151/2.562, allocations: 10.64 MB / 1.16 GB, free: 160.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005946/2.568, allocations: 4.983 MB / 1.165 GB, free: 158.8 MB / 0.545 GB Notification: Performance of Backend: time 5.81e-07/2.568, allocations: 0 / 1.165 GB, free: 158.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02309/2.591, allocations: 16.2 MB / 1.181 GB, free: 152.2 MB / 0.545 GB Notification: Performance of SimCode: time 0.03144/2.622, allocations: 22.56 MB / 1.203 GB, free: 136.7 MB / 0.545 GB Notification: Performance of Templates: time 0.4026/3.025, allocations: 189.2 MB / 1.388 GB, free: 155 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