Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 90.92 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005132, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3247, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.5009, allocations: 107.8 MB / 482.3 MB, free: 4.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5013, allocations: 99.94 kB / 482.4 MB, free: 4.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429/1.93, allocations: 235.1 MB / 0.7007 GB, free: 38.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.93, allocations: 0 / 0.7007 GB, free: 38.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006472/1.931, allocations: 241.8 kB / 0.7009 GB, free: 38.83 MB / 410.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.05704/1.988, allocations: 13.02 MB / 0.7136 GB, free: 34.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.988, allocations: 7.812 kB / 0.7136 GB, free: 34.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0336/2.022, allocations: 3.98 MB / 0.7175 GB, free: 33.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04466/2.066, allocations: 12.24 MB / 0.7295 GB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/2.068, allocations: 0.8882 MB / 0.7303 GB, free: 32.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006764/2.074, allocations: 1.182 MB / 0.7315 GB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1264/2.201, allocations: 33.82 MB / 0.7645 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008014/2.202, allocations: 100.4 kB / 0.7646 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006574/2.208, allocations: 0.5371 MB / 0.7651 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005607/2.214, allocations: 2.586 MB / 0.7676 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1169/2.331, allocations: 31.06 MB / 0.798 GB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5652/2.896, allocations: 120.4 MB / 0.9156 GB, free: 32.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08693/2.983, allocations: 17.35 MB / 0.9325 GB, free: 28.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0699/3.053, allocations: 31.09 MB / 0.9629 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/3.053, allocations: 86.48 kB / 0.963 GB, free: 10.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=489): time 9.698e-06/3.053, allocations: 7.094 kB / 0.963 GB, free: 10.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=726): time 1.597/4.65, allocations: 172 MB / 1.131 GB, free: 36.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/4.65, allocations: 209.2 kB / 1.131 GB, free: 36.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01849/4.669, allocations: 7.043 MB / 1.138 GB, free: 29.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002544/4.671, allocations: 137.7 kB / 1.138 GB, free: 29.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006155/4.677, allocations: 6.848 MB / 1.145 GB, free: 22.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005011/4.683, allocations: 2.579 MB / 1.147 GB, free: 20.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003763/4.686, allocations: 289.3 kB / 1.148 GB, free: 20.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001282/4.688, allocations: 0.9107 MB / 1.149 GB, free: 19.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3666/5.054, allocations: 10.3 MB / 1.159 GB, free: 93.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03317/5.088, allocations: 16.94 MB / 1.175 GB, free: 84.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03791/5.125, allocations: 13.01 MB / 1.188 GB, free: 84.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003406/5.126, allocations: 66.88 kB / 1.188 GB, free: 84.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.07325/5.199, allocations: 27.45 MB / 1.215 GB, free: 76.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/5.199, allocations: 104.8 kB / 1.215 GB, free: 76.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004268/5.2, allocations: 227.6 kB / 1.215 GB, free: 76.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/5.2, allocations: 348.4 kB / 1.215 GB, free: 76.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03683/5.237, allocations: 4.262 MB / 1.22 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005819/5.238, allocations: 467.9 kB / 1.22 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02211/5.26, allocations: 1.229 MB / 1.221 GB, free: 76.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004343/5.264, allocations: 0.7502 MB / 1.222 GB, free: 76 MB / 474.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.0175/5.282, allocations: 5.455 MB / 1.227 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003913/5.286, allocations: 0.7963 MB / 1.228 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05369/5.34, allocations: 19.61 MB / 1.247 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.83e-05/5.34, allocations: 73.03 kB / 1.247 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/5.34, allocations: 3.688 kB / 1.247 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001735/5.34, allocations: 40.31 kB / 1.247 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1124/5.452, allocations: 42.54 MB / 1.289 GB, free: 30.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.979e-05/5.452, allocations: 8 kB / 1.289 GB, free: 30.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02491/5.477, allocations: 2.153 MB / 1.291 GB, free: 28.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/5.478, allocations: 28 kB / 1.291 GB, free: 28.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002125/5.48, allocations: 129.6 kB / 1.291 GB, free: 28.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.937e-05/5.48, allocations: 28 kB / 1.291 GB, free: 28.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/5.48, allocations: 15.83 kB / 1.291 GB, free: 28.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4398/5.92, allocations: 34.66 MB / 1.325 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01063/5.93, allocations: 2.71 MB / 1.328 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004588/5.935, allocations: 120.4 kB / 1.328 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01521/5.95, allocations: 0.7609 MB / 1.328 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00348/5.954, allocations: 389.1 kB / 1.329 GB, free: 81.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002491/5.956, allocations: 181.4 kB / 1.329 GB, free: 81.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01533/5.972, allocations: 4.914 MB / 1.334 GB, free: 80.94 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.435e-06/5.972, allocations: 0 / 1.334 GB, free: 80.94 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02086/5.993, allocations: 3.168 MB / 1.337 GB, free: 80.94 MB / 474.7 MB 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.00353/5.996, allocations: 416.9 kB / 1.337 GB, free: 80.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.05718/6.053, allocations: 23.25 MB / 1.36 GB, free: 80.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/6.053, allocations: 3.562 kB / 1.36 GB, free: 80.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02278/6.076, allocations: 9.829 MB / 1.37 GB, free: 79.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008825/6.085, allocations: 0.8619 MB / 1.37 GB, free: 79.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/6.186, allocations: 39.21 MB / 1.409 GB, free: 60.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02404/6.21, allocations: 8.282 MB / 1.417 GB, free: 57.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01355/6.224, allocations: 0.7066 MB / 1.418 GB, free: 57.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/6.224, allocations: 0 / 1.418 GB, free: 57.57 MB / 474.7 MB Notification: Performance of Templates: time 0.7336/6.957, allocations: 186 MB / 1.599 GB, free: 49.61 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarLoops_analytic/PlanarLoops_analytic.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches