Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008016/0.0008015, allocations: 90.08 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000226/0.0002261, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2196, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.3357, allocations: 104.7 MB / 0.502 GB, free: 2.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3359, allocations: 95.95 kB / 0.5021 GB, free: 2.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4651/0.801, allocations: 142.3 MB / 0.641 GB, free: 1.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8011, allocations: 3.938 kB / 0.641 GB, free: 1.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005474/0.8016, allocations: 148 kB / 0.6412 GB, free: 1.598 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02383/0.8255, allocations: 7.848 MB / 0.6488 GB, free: 9.656 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8255, allocations: 8.031 kB / 0.6488 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03319/0.8587, allocations: 8.438 MB / 0.6571 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01929/0.8781, allocations: 8.241 MB / 0.6651 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007081/0.8788, allocations: 0.5219 MB / 0.6656 GB, free: 8.344 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003445/0.8823, allocations: 0.7031 MB / 0.6663 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4472/1.33, allocations: 17.2 MB / 0.6831 GB, free: 63.18 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004218/1.33, allocations: 98.48 kB / 0.6832 GB, free: 63.18 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002064/1.332, allocations: 333.3 kB / 0.6835 GB, free: 63.18 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/1.334, allocations: 1.461 MB / 0.685 GB, free: 63.16 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02857/1.363, allocations: 14.25 MB / 0.6989 GB, free: 63.11 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07496/1.438, allocations: 73.01 MB / 0.7702 GB, free: 18.36 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/1.458, allocations: 8.624 MB / 0.7786 GB, free: 15.95 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004764/1.463, allocations: 4.761 MB / 0.7832 GB, free: 13.89 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/1.484, allocations: 17.53 MB / 0.8004 GB, free: 5.066 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.485, allocations: 60.5 kB / 0.8004 GB, free: 5 MB / 442.8 MB Notification: Performance of pre-optimization done (n=281): time 5.942e-06/1.485, allocations: 3.344 kB / 0.8004 GB, free: 5 MB / 442.8 MB Notification: Performance of matching and sorting (n=374): time 0.4573/1.942, allocations: 69.51 MB / 0.8683 GB, free: 93.17 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.942, allocations: 375.6 kB / 0.8687 GB, free: 92.76 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008638/1.951, allocations: 6.189 MB / 0.8747 GB, free: 92.26 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008991/1.952, allocations: 80.92 kB / 0.8748 GB, free: 92.23 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00286/1.955, allocations: 4.867 MB / 0.8795 GB, free: 90.06 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.956, allocations: 1.37 MB / 0.8809 GB, free: 89.25 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/1.957, allocations: 184.2 kB / 0.8811 GB, free: 89.25 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003599/1.957, allocations: 0.687 MB / 0.8817 GB, free: 88.93 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0064/1.963, allocations: 5.491 MB / 0.8871 GB, free: 88.9 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008965/1.972, allocations: 10.5 MB / 0.8973 GB, free: 82.56 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/1.989, allocations: 17.1 MB / 0.914 GB, free: 72.02 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001859/1.99, allocations: 50.53 kB / 0.9141 GB, free: 72.02 MB / 474.8 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.04121/2.031, allocations: 21.37 MB / 0.9349 GB, free: 64.85 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/2.031, allocations: 82.73 kB / 0.935 GB, free: 64.85 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002703/2.031, allocations: 172.8 kB / 0.9352 GB, free: 64.85 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/2.049, allocations: 6.499 MB / 0.9415 GB, free: 63.83 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006975/2.056, allocations: 2.052 MB / 0.9435 GB, free: 63.6 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03643/2.093, allocations: 32.41 MB / 0.9752 GB, free: 36.42 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008236/2.101, allocations: 0.7027 MB / 0.9759 GB, free: 35.88 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/2.103, allocations: 0.5127 MB / 0.9764 GB, free: 35.39 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1016 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.007393/2.11, allocations: 3.424 MB / 0.9797 GB, free: 32.38 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/2.111, allocations: 0.5896 MB / 0.9803 GB, free: 31.78 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02825/2.14, allocations: 15.48 MB / 0.9954 GB, free: 19.75 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/2.14, allocations: 51.41 kB / 0.9955 GB, free: 19.71 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/2.14, allocations: 16 kB / 0.9955 GB, free: 19.7 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/2.14, allocations: 22 kB / 0.9955 GB, free: 19.69 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3098/2.45, allocations: 30.47 MB / 1.025 GB, free: 99.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/2.45, allocations: 6.625 kB / 1.025 GB, free: 99.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/2.453, allocations: 0.5785 MB / 1.026 GB, free: 99.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01715/2.47, allocations: 6.156 MB / 1.032 GB, free: 99.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009375/2.471, allocations: 63.75 kB / 1.032 GB, free: 99.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03676/2.508, allocations: 30.77 MB / 1.062 GB, free: 95.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/2.508, allocations: 6.828 kB / 1.062 GB, free: 95.13 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03609/2.544, allocations: 22.72 MB / 1.084 GB, free: 88.43 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/2.546, allocations: 0.6105 MB / 1.085 GB, free: 88.31 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/2.548, allocations: 64.5 kB / 1.085 GB, free: 88.26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/2.552, allocations: 404.9 kB / 1.085 GB, free: 88.22 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/2.553, allocations: 247.9 kB / 1.085 GB, free: 88.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/2.553, allocations: 95.12 kB / 1.086 GB, free: 88.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006293/2.559, allocations: 3.904 MB / 1.089 GB, free: 86.86 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.6e-07/2.559, allocations: 0 / 1.089 GB, free: 86.86 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01086/2.57, allocations: 2.186 MB / 1.091 GB, free: 86.64 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/2.572, allocations: 291 kB / 1.092 GB, free: 86.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02033/2.592, allocations: 13.91 MB / 1.105 GB, free: 81.49 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/2.592, allocations: 0 / 1.105 GB, free: 81.49 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009461/2.602, allocations: 6.371 MB / 1.112 GB, free: 77.16 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/2.612, allocations: 0.878 MB / 1.112 GB, free: 76.44 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/2.646, allocations: 22.29 MB / 1.134 GB, free: 56.44 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00618/2.652, allocations: 5.268 MB / 1.139 GB, free: 52.46 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00734/2.66, allocations: 3.033 MB / 1.142 GB, free: 50.59 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/2.661, allocations: 381 kB / 1.143 GB, free: 50.23 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/2.661, allocations: 0 / 1.143 GB, free: 50.23 MB / 490.8 MB Notification: Performance of Templates: time 0.4125/3.074, allocations: 99.33 MB / 1.24 GB, free: 90.24 MB / 490.8 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches