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.002063/0.002063, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 90.81 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.281e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3453, allocations: 47.55 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.5286, allocations: 107 MB / 469.4 MB, free: 11.25 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/0.529, allocations: 87.95 kB / 469.4 MB, free: 11.16 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.607/2.136, allocations: 229.8 MB / 0.6828 GB, free: 36.63 MB / 411.1 MB Notification: Performance of FrontEnd: time 5.059e-06/2.136, allocations: 2.359 kB / 0.6828 GB, free: 36.63 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.001531/2.138, allocations: 234.6 kB / 0.6831 GB, free: 36.62 MB / 411.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.07229/2.21, allocations: 12.3 MB / 0.6951 GB, free: 32.69 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/2.21, allocations: 12.72 kB / 0.6951 GB, free: 32.69 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03566/2.246, allocations: 3.986 MB / 0.699 GB, free: 31.94 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04815/2.294, allocations: 12.2 MB / 0.7109 GB, free: 30.71 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008865/2.295, allocations: 383.7 kB / 0.7113 GB, free: 30.71 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007805/2.303, allocations: 0.7007 MB / 0.7119 GB, free: 30.7 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05348/2.356, allocations: 21.49 MB / 0.7329 GB, free: 30.64 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07475/2.431, allocations: 26.43 MB / 0.7587 GB, free: 18.58 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007493/2.432, allocations: 99.56 kB / 0.7588 GB, free: 18.53 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009181/2.441, allocations: 61.16 kB / 0.7589 GB, free: 18.48 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00822/2.449, allocations: 2.58 MB / 0.7614 GB, free: 16.33 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5728/3.022, allocations: 117.2 MB / 0.8759 GB, free: 25.7 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/3.044, allocations: 10.49 MB / 0.8861 GB, free: 25.04 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0176/3.062, allocations: 8.51 MB / 0.8944 GB, free: 24.99 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07157/3.133, allocations: 30.88 MB / 0.9246 GB, free: 13.28 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/3.133, allocations: 86.22 kB / 0.9247 GB, free: 13.21 MB / 459.1 MB Notification: Performance of pre-optimization done (n=483): time 9.718e-06/3.133, allocations: 0 / 0.9247 GB, free: 13.21 MB / 459.1 MB Notification: Performance of matching and sorting (n=708): time 1.165/4.298, allocations: 118 MB / 1.04 GB, free: 83.73 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/4.298, allocations: 205.5 kB / 1.04 GB, free: 83.57 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01508/4.313, allocations: 6.112 MB / 1.046 GB, free: 83.01 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002385/4.316, allocations: 25.7 kB / 1.046 GB, free: 82.98 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006257/4.322, allocations: 7.039 MB / 1.053 GB, free: 78.96 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004994/4.327, allocations: 2.424 MB / 1.055 GB, free: 77.44 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00317/4.33, allocations: 0 / 1.055 GB, free: 77.44 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.001234/4.332, allocations: 0.9259 MB / 1.056 GB, free: 77.1 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02158/4.353, allocations: 9.701 MB / 1.066 GB, free: 76.01 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02702/4.38, allocations: 16.56 MB / 1.082 GB, free: 62.72 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03411/4.415, allocations: 12.9 MB / 1.095 GB, free: 57.83 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003039/4.415, allocations: 72.25 kB / 1.095 GB, free: 57.83 MB / 475.1 MB Notification: Performance of matching and sorting (n=1890) (initialization): time 0.07419/4.489, allocations: 25.63 MB / 1.12 GB, free: 48.2 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/4.489, allocations: 107.3 kB / 1.12 GB, free: 48.1 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004022/4.49, allocations: 240 kB / 1.12 GB, free: 47.86 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/4.49, allocations: 364 kB / 1.12 GB, free: 47.51 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03777/4.528, allocations: 4.299 MB / 1.124 GB, free: 44.11 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005937/4.529, allocations: 484.6 kB / 1.125 GB, free: 43.68 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02309/4.552, allocations: 0.9562 MB / 1.126 GB, free: 43.08 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004759/4.557, allocations: 0.7663 MB / 1.127 GB, free: 42.33 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1089 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1860): * Single equations (assignments): 1854 * 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.008406/4.565, allocations: 0.7693 MB / 1.127 GB, free: 41.57 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004493/4.57, allocations: 0.7444 MB / 1.128 GB, free: 40.81 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04989/4.62, allocations: 18.53 MB / 1.146 GB, free: 24.72 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/4.62, allocations: 72 kB / 1.146 GB, free: 24.65 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/4.62, allocations: 0 / 1.146 GB, free: 24.65 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001918/4.62, allocations: 31.55 kB / 1.146 GB, free: 24.65 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.447/5.067, allocations: 38.58 MB / 1.184 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/5.067, allocations: 0 / 1.184 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04006/5.107, allocations: 2.118 MB / 1.186 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/5.107, allocations: 26.75 kB / 1.186 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002973/5.11, allocations: 18.11 kB / 1.186 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001468/5.111, allocations: 23.84 kB / 1.186 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/5.111, allocations: 1.719 kB / 1.186 GB, free: 80.09 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07679/5.187, allocations: 31.9 MB / 1.217 GB, free: 76.12 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01116/5.199, allocations: 2.634 MB / 1.22 GB, free: 75.08 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004733/5.203, allocations: 7.031 kB / 1.22 GB, free: 75.08 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01526/5.219, allocations: 0.65 MB / 1.22 GB, free: 75.08 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003168/5.222, allocations: 369.6 kB / 1.221 GB, free: 75.03 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002327/5.224, allocations: 171.9 kB / 1.221 GB, free: 74.98 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.01137/5.236, allocations: 4.058 MB / 1.225 GB, free: 73.5 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.513e-06/5.236, allocations: 0 / 1.225 GB, free: 73.5 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.0211/5.257, allocations: 2.751 MB / 1.228 GB, free: 73.49 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (692): * Single equations (assignments): 689 * 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.003371/5.26, allocations: 296.6 kB / 1.228 GB, free: 73.41 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.04834/5.309, allocations: 22.07 MB / 1.249 GB, free: 64.62 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/5.309, allocations: 2.531 kB / 1.249 GB, free: 64.62 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02011/5.329, allocations: 9.515 MB / 1.259 GB, free: 60.37 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007847/5.337, allocations: 0.6263 MB / 1.259 GB, free: 60.09 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08582/5.423, allocations: 29.52 MB / 1.288 GB, free: 35.54 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02048/5.443, allocations: 8.247 MB / 1.296 GB, free: 29.54 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01204/5.455, allocations: 0.6816 MB / 1.297 GB, free: 28.89 MB / 475.1 MB Notification: Performance of SimCode: time 1.493e-06/5.455, allocations: 4 kB / 1.297 GB, free: 28.88 MB / 475.1 MB Notification: Performance of Templates: time 0.7028/6.158, allocations: 180.3 MB / 1.473 GB, free: 9.438 MB / 475.1 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