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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 100.9 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2482, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.3763, allocations: 109.5 MB / 0.4991 GB, free: 2.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.3767, allocations: 95.94 kB / 0.4992 GB, free: 2.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069/1.446, allocations: 237.6 MB / 0.7312 GB, free: 38.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.446, allocations: 0 / 0.7312 GB, free: 38.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007392/1.446, allocations: 239.4 kB / 0.7314 GB, free: 38.57 MB / 426.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.04541/1.492, allocations: 12.99 MB / 0.7441 GB, free: 34.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.492, allocations: 10.53 kB / 0.7441 GB, free: 34.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/1.514, allocations: 3.976 MB / 0.748 GB, free: 33.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03577/1.55, allocations: 11.82 MB / 0.7595 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000937/1.551, allocations: 0.8893 MB / 0.7604 GB, free: 32.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006136/1.557, allocations: 1.185 MB / 0.7615 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08664/1.643, allocations: 33.82 MB / 0.7946 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008157/1.644, allocations: 99.08 kB / 0.7947 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007035/1.651, allocations: 0.5379 MB / 0.7952 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00459/1.656, allocations: 2.585 MB / 0.7977 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.325/1.981, allocations: 31.05 MB / 0.828 GB, free: 60.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1563/2.137, allocations: 120.4 MB / 0.9456 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04559/2.183, allocations: 17.34 MB / 0.9625 GB, free: 9.332 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04717/2.23, allocations: 31.08 MB / 0.9929 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.917e-05/2.23, allocations: 84.7 kB / 0.993 GB, free: 5.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=489): time 8.256e-06/2.23, allocations: 3.188 kB / 0.993 GB, free: 5.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=726): time 0.8906/3.121, allocations: 171.5 MB / 1.16 GB, free: 29.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/3.121, allocations: 197.8 kB / 1.161 GB, free: 29.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01557/3.137, allocations: 7.017 MB / 1.168 GB, free: 22.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002396/3.139, allocations: 137.7 kB / 1.168 GB, free: 22.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005864/3.145, allocations: 7.066 MB / 1.175 GB, free: 15.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004451/3.15, allocations: 2.584 MB / 1.177 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/3.152, allocations: 288 kB / 1.177 GB, free: 12.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008859/3.153, allocations: 0.9098 MB / 1.178 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3599/3.513, allocations: 10.31 MB / 1.188 GB, free: 96.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01935/3.532, allocations: 16.94 MB / 1.205 GB, free: 88.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/3.551, allocations: 13.01 MB / 1.218 GB, free: 88.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002728/3.552, allocations: 67.5 kB / 1.218 GB, free: 88.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.04677/3.598, allocations: 27.69 MB / 1.245 GB, free: 78.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000407/3.599, allocations: 101.7 kB / 1.245 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004295/3.599, allocations: 227.7 kB / 1.245 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/3.6, allocations: 351.7 kB / 1.245 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01988/3.62, allocations: 4.264 MB / 1.249 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005901/3.62, allocations: 464.3 kB / 1.25 GB, free: 77.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01483/3.635, allocations: 1.225 MB / 1.251 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003864/3.639, allocations: 0.7467 MB / 1.252 GB, free: 77.51 MB / 490.7 MB 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.01809/3.657, allocations: 5.462 MB / 1.257 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003062/3.66, allocations: 0.7989 MB / 1.258 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03208/3.692, allocations: 19.61 MB / 1.277 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-05/3.692, allocations: 68 kB / 1.277 GB, free: 64.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/3.692, allocations: 4 kB / 1.277 GB, free: 64.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001379/3.693, allocations: 33.7 kB / 1.277 GB, free: 64.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07012/3.763, allocations: 42.53 MB / 1.319 GB, free: 28.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/3.763, allocations: 11 kB / 1.319 GB, free: 28.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01267/3.775, allocations: 2.153 MB / 1.321 GB, free: 27.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-05/3.776, allocations: 32 kB / 1.321 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001628/3.777, allocations: 130.2 kB / 1.321 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.597e-05/3.777, allocations: 28 kB / 1.321 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/3.777, allocations: 11.94 kB / 1.321 GB, free: 27.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05477/3.832, allocations: 35.06 MB / 1.355 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2505/4.083, allocations: 2.705 MB / 1.358 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003763/4.086, allocations: 124.8 kB / 1.358 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009131/4.096, allocations: 0.7553 MB / 1.359 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001755/4.097, allocations: 391.1 kB / 1.359 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008357/4.098, allocations: 184.7 kB / 1.359 GB, free: 105 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008965/4.107, allocations: 4.875 MB / 1.364 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.3e-07/4.107, allocations: 3.031 kB / 1.364 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01612/4.123, allocations: 3.17 MB / 1.367 GB, free: 104.7 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.002421/4.126, allocations: 415.2 kB / 1.368 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03585/4.162, allocations: 23.25 MB / 1.39 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/4.162, allocations: 5.469 kB / 1.39 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01419/4.176, allocations: 9.833 MB / 1.4 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005971/4.182, allocations: 0.8564 MB / 1.401 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05639/4.238, allocations: 37.79 MB / 1.438 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01342/4.252, allocations: 8.255 MB / 1.446 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01548/4.267, allocations: 5.074 MB / 1.451 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005363/4.273, allocations: 0.607 MB / 1.451 GB, free: 78.59 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/4.273, allocations: 0 / 1.451 GB, free: 78.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.6592/4.932, allocations: 122.4 MB / 1.571 GB, free: 88.85 MB / 0.4949 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/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches