Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 184.1 kB / 18.04 MB, free: 3.777 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.498/1.498, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007389/0.0007391, allocations: 89.61 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003381, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.239, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3527, allocations: 94.5 MB / 471.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.3529, allocations: 87.95 kB / 471.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4786/0.8315, allocations: 121.3 MB / 0.579 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.656e-06/0.8316, allocations: 4 kB / 0.579 GB, free: 37.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004834/0.8321, allocations: 124 kB / 0.5791 GB, free: 37.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02304/0.8551, allocations: 6.761 MB / 0.5857 GB, free: 30.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.8552, allocations: 8.031 kB / 0.5858 GB, free: 30.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/0.8825, allocations: 6.902 MB / 0.5925 GB, free: 23.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0172/0.8998, allocations: 7.373 MB / 0.5997 GB, free: 16.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/0.9004, allocations: 435.8 kB / 0.6001 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003171/0.9036, allocations: 0.5781 MB / 0.6007 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03332/0.9369, allocations: 14.66 MB / 0.615 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005527/0.9375, allocations: 87.42 kB / 0.6151 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002597/0.9402, allocations: 275.8 kB / 0.6153 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002407/0.9426, allocations: 1.443 MB / 0.6167 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/0.9704, allocations: 12.8 MB / 0.6293 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2847/1.255, allocations: 64.69 MB / 0.6924 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.272, allocations: 7.514 MB / 0.6998 GB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006044/1.279, allocations: 5.202 MB / 0.7048 GB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01805/1.297, allocations: 12.94 MB / 0.7175 GB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/1.297, allocations: 69 kB / 0.7175 GB, free: 27.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=340): time 6.673e-06/1.297, allocations: 0 / 0.7175 GB, free: 27.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=604): time 1.412/2.709, allocations: 264.3 MB / 0.9756 GB, free: 25.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/2.709, allocations: 269.7 kB / 0.9759 GB, free: 25.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2143/2.923, allocations: 5.382 MB / 0.9811 GB, free: 110.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001647/2.925, allocations: 120.7 kB / 0.9812 GB, free: 110.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003291/2.928, allocations: 4.016 MB / 0.9852 GB, free: 108.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003172/2.932, allocations: 2.114 MB / 0.9872 GB, free: 107.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/2.934, allocations: 185.8 kB / 0.9874 GB, free: 107.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009997/2.935, allocations: 0.7174 MB / 0.9881 GB, free: 107.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01237/2.947, allocations: 8.671 MB / 0.9966 GB, free: 107.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/2.963, allocations: 12.81 MB / 1.009 GB, free: 102.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02823/2.992, allocations: 22.88 MB / 1.031 GB, free: 89.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/2.992, allocations: 39.53 kB / 1.031 GB, free: 89.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.09088/3.083, allocations: 40.36 MB / 1.071 GB, free: 74.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/3.083, allocations: 64.94 kB / 1.071 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003122/3.084, allocations: 140 kB / 1.071 GB, free: 74.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05809/3.142, allocations: 21.53 MB / 1.092 GB, free: 59.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/3.147, allocations: 1.44 MB / 1.094 GB, free: 57.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4132/3.56, allocations: 144.8 MB / 1.235 GB, free: 64.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/3.571, allocations: 0.7213 MB / 1.236 GB, free: 63.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/3.573, allocations: 0.5286 MB / 1.236 GB, free: 63.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (775): * Single equations (assignments): 768 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.008388/3.582, allocations: 3.125 MB / 1.239 GB, free: 60.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/3.584, allocations: 0.5964 MB / 1.24 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07428/3.658, allocations: 36.32 MB / 1.275 GB, free: 33.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-05/3.658, allocations: 60 kB / 1.275 GB, free: 33.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002023/3.659, allocations: 67.75 kB / 1.275 GB, free: 33.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001297/3.659, allocations: 36.12 kB / 1.275 GB, free: 33.13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3127/3.971, allocations: 57.23 MB / 1.331 GB, free: 88.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.728e-05/3.972, allocations: 1.344 kB / 1.331 GB, free: 88.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/3.973, allocations: 272.3 kB / 1.332 GB, free: 88.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05361/4.027, allocations: 20.76 MB / 1.352 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001612/4.028, allocations: 97.19 kB / 1.352 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4114/4.44, allocations: 132.6 MB / 1.481 GB, free: 81.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.44, allocations: 1.719 kB / 1.481 GB, free: 81.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08887/4.529, allocations: 48.73 MB / 1.529 GB, free: 79.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005607/4.534, allocations: 2.41 MB / 1.531 GB, free: 78.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/4.537, allocations: 99.17 kB / 1.531 GB, free: 78.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006627/4.543, allocations: 0.4931 MB / 1.532 GB, free: 77.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003072/4.546, allocations: 0.5014 MB / 1.532 GB, free: 77.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007106/4.547, allocations: 145.9 kB / 1.533 GB, free: 77.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005886/4.553, allocations: 3.423 MB / 1.536 GB, free: 76.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/4.553, allocations: 2.344 kB / 1.536 GB, free: 76.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01432/4.567, allocations: 3.438 MB / 1.539 GB, free: 76.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (j1.phi,j1.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 (148): * Single equations (assignments): 141 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/4.569, allocations: 238.7 kB / 1.54 GB, free: 76.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03735/4.606, allocations: 24.52 MB / 1.563 GB, free: 62.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/4.606, allocations: 0 / 1.563 GB, free: 62.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02375/4.63, allocations: 13.81 MB / 1.577 GB, free: 50.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008609/4.639, allocations: 0.7864 MB / 1.578 GB, free: 49.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04026/4.679, allocations: 26.5 MB / 1.604 GB, free: 25.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007961/4.687, allocations: 5.185 MB / 1.609 GB, free: 21.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005793/4.693, allocations: 2.081 MB / 1.611 GB, free: 20.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/4.694, allocations: 302.2 kB / 1.611 GB, free: 20.38 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/4.694, allocations: 0 / 1.611 GB, free: 20.38 MB / 458.7 MB Notification: Performance of Templates: time 0.7088/5.403, allocations: 223.6 MB / 1.829 GB, free: 80.91 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches