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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 202.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008831/0.0008831, allocations: 112.8 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001947/0.0001948, allocations: 4 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1958, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.4766, allocations: 110.2 MB / 0.5074 GB, free: 95.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.4768, allocations: 93.17 kB / 0.5075 GB, free: 95.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7021/1.179, allocations: 241 MB / 0.7429 GB, free: 46.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.179, allocations: 0 / 0.7429 GB, free: 46.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006295/1.18, allocations: 232.7 kB / 0.7431 GB, free: 46.81 MB / 442.7 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.04021/1.22, allocations: 13.09 MB / 0.7559 GB, free: 42.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.22, allocations: 11.44 kB / 0.7559 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/1.24, allocations: 4.004 MB / 0.7598 GB, free: 41.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02712/1.267, allocations: 11.04 MB / 0.7706 GB, free: 40.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008829/1.268, allocations: 0.8919 MB / 0.7715 GB, free: 40.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005493/1.273, allocations: 1.186 MB / 0.7726 GB, free: 40.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07674/1.35, allocations: 33.82 MB / 0.8057 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005871/1.351, allocations: 99.78 kB / 0.8058 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004962/1.356, allocations: 0.542 MB / 0.8063 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003243/1.359, allocations: 2.585 MB / 0.8088 GB, free: 9.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0664/1.425, allocations: 31.06 MB / 0.8392 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3628/1.788, allocations: 120.4 MB / 0.9567 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04201/1.83, allocations: 17.35 MB / 0.9736 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03583/1.866, allocations: 31.06 MB / 1.004 GB, free: 18.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/1.866, allocations: 88.39 kB / 1.004 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=489): time 7.263e-06/1.866, allocations: 0 / 1.004 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=726): time 0.8226/2.689, allocations: 170.2 MB / 1.17 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/2.689, allocations: 201.8 kB / 1.171 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/2.7, allocations: 7.002 MB / 1.177 GB, free: 47.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001812/2.702, allocations: 144.4 kB / 1.177 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003762/2.706, allocations: 7.072 MB / 1.184 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003025/2.709, allocations: 2.579 MB / 1.187 GB, free: 37.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/2.711, allocations: 295.2 kB / 1.187 GB, free: 37.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007821/2.712, allocations: 0.9059 MB / 1.188 GB, free: 36.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01304/2.725, allocations: 10.31 MB / 1.198 GB, free: 26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2556/2.98, allocations: 16.94 MB / 1.215 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/2.999, allocations: 13.01 MB / 1.227 GB, free: 91.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002489/2.999, allocations: 72.22 kB / 1.227 GB, free: 91.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.04432/3.044, allocations: 27.69 MB / 1.254 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/3.044, allocations: 105.2 kB / 1.255 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003008/3.044, allocations: 230.6 kB / 1.255 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/3.044, allocations: 345.4 kB / 1.255 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01822/3.063, allocations: 4.269 MB / 1.259 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/3.063, allocations: 457.2 kB / 1.26 GB, free: 89.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01427/3.077, allocations: 1.223 MB / 1.261 GB, free: 89.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003919/3.081, allocations: 0.7469 MB / 1.262 GB, free: 89.01 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1034 * 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],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.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 (1848): * Single equations (assignments): 1842 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0124/3.094, allocations: 5.462 MB / 1.267 GB, free: 86.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002286/3.096, allocations: 0.7951 MB / 1.268 GB, free: 86.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02458/3.121, allocations: 19.6 MB / 1.287 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/3.121, allocations: 76.12 kB / 1.287 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/3.121, allocations: 3.938 kB / 1.287 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/3.121, allocations: 31.92 kB / 1.287 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06066/3.182, allocations: 42.54 MB / 1.329 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/3.182, allocations: 11.5 kB / 1.329 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/3.193, allocations: 2.146 MB / 1.331 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.891e-05/3.193, allocations: 32 kB / 1.331 GB, free: 51.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008883/3.194, allocations: 125.6 kB / 1.331 GB, free: 51.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.439e-05/3.194, allocations: 35.03 kB / 1.331 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/3.194, allocations: 8 kB / 1.331 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03607/3.23, allocations: 33.93 MB / 1.364 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008325/3.239, allocations: 2.709 MB / 1.367 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002934/3.241, allocations: 120.9 kB / 1.367 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008176/3.25, allocations: 0.7604 MB / 1.368 GB, free: 17.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001728/3.251, allocations: 392 kB / 1.368 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001309/3.253, allocations: 176.4 kB / 1.368 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009948/3.263, allocations: 4.884 MB / 1.373 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/3.263, allocations: 0 / 1.373 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01597/3.279, allocations: 3.178 MB / 1.376 GB, free: 10.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (710): * Single equations (assignments): 707 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002535/3.281, allocations: 431.9 kB / 1.376 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2828/3.564, allocations: 23.35 MB / 1.399 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/3.564, allocations: 0 / 1.399 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01356/3.578, allocations: 9.831 MB / 1.409 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006325/3.584, allocations: 0.8654 MB / 1.41 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06014/3.644, allocations: 37.78 MB / 1.446 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/3.658, allocations: 8.272 MB / 1.455 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01581/3.674, allocations: 5.06 MB / 1.46 GB, free: 79.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005324/3.679, allocations: 0.5985 MB / 1.46 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/3.679, allocations: 0 / 1.46 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.601/4.28, allocations: 122.5 MB / 1.58 GB, free: 70.74 MB / 0.4949 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches