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.00105/0.00105, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008562/0.0008562, allocations: 102.4 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002225, allocations: 4 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2101, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.319, allocations: 104.6 MB / 0.502 GB, free: 1.945 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.3193, allocations: 97.08 kB / 0.5021 GB, free: 1.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4715/0.7908, allocations: 146.9 MB / 0.6456 GB, free: 11.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7909, allocations: 0 / 0.6456 GB, free: 11.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005546/0.7914, allocations: 144 kB / 0.6457 GB, free: 11.41 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02692/0.8184, allocations: 8.269 MB / 0.6538 GB, free: 3.047 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.8184, allocations: 11.97 kB / 0.6538 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04219/0.8606, allocations: 11.71 MB / 0.6652 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2177/1.078, allocations: 9.046 MB / 0.6741 GB, free: 68.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/1.079, allocations: 0.5211 MB / 0.6746 GB, free: 68.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/1.081, allocations: 0.703 MB / 0.6753 GB, free: 68.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03135/1.113, allocations: 17.38 MB / 0.6922 GB, free: 64.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002768/1.113, allocations: 98.16 kB / 0.6923 GB, free: 64.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008963/1.114, allocations: 330.4 kB / 0.6926 GB, free: 64.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/1.115, allocations: 1.458 MB / 0.6941 GB, free: 64.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/1.14, allocations: 14.5 MB / 0.7082 GB, free: 64.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07836/1.219, allocations: 73.11 MB / 0.7796 GB, free: 16.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02026/1.239, allocations: 8.774 MB / 0.7882 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02513/1.264, allocations: 17.76 MB / 0.8055 GB, free: 0 / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/1.264, allocations: 64.89 kB / 0.8056 GB, free: 15.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=281): time 6.753e-06/1.264, allocations: 3.938 kB / 0.8056 GB, free: 15.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=374): time 0.4086/1.673, allocations: 70.17 MB / 0.8741 GB, free: 93.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.673, allocations: 377.4 kB / 0.8745 GB, free: 93.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007902/1.681, allocations: 5.49 MB / 0.8798 GB, free: 92.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009587/1.682, allocations: 84.89 kB / 0.8799 GB, free: 92.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.685, allocations: 4.869 MB / 0.8847 GB, free: 90.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.687, allocations: 1.367 MB / 0.886 GB, free: 89.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/1.687, allocations: 179.9 kB / 0.8862 GB, free: 89.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003326/1.687, allocations: 0.6791 MB / 0.8869 GB, free: 89.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00598/1.693, allocations: 5.495 MB / 0.8922 GB, free: 89.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007989/1.701, allocations: 10.46 MB / 0.9024 GB, free: 83.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008812/1.71, allocations: 7.409 MB / 0.9097 GB, free: 80.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.71, allocations: 57.72 kB / 0.9097 GB, free: 80.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.03622/1.747, allocations: 21.36 MB / 0.9306 GB, free: 74.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/1.747, allocations: 76.19 kB / 0.9307 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003127/1.747, allocations: 171.9 kB / 0.9308 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/1.765, allocations: 6.526 MB / 0.9372 GB, free: 73.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007266/1.772, allocations: 2.052 MB / 0.9392 GB, free: 71.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03798/1.81, allocations: 33.55 MB / 0.972 GB, free: 42.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008211/1.818, allocations: 0.7003 MB / 0.9727 GB, free: 42.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/1.82, allocations: 0.5123 MB / 0.9732 GB, free: 41.74 MB / 474.7 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.007738/1.828, allocations: 3.429 MB / 0.9765 GB, free: 38.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/1.83, allocations: 0.5785 MB / 0.9771 GB, free: 38.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02837/1.858, allocations: 15.49 MB / 0.9922 GB, free: 26.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/1.858, allocations: 58.88 kB / 0.9922 GB, free: 26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.692e-05/1.858, allocations: 16 kB / 0.9923 GB, free: 25.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/1.858, allocations: 19.94 kB / 0.9923 GB, free: 25.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2573/2.115, allocations: 30.46 MB / 1.022 GB, free: 83.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-05/2.116, allocations: 5.844 kB / 1.022 GB, free: 83.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/2.118, allocations: 0.5719 MB / 1.023 GB, free: 83.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01644/2.135, allocations: 6.149 MB / 1.029 GB, free: 83.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008271/2.136, allocations: 64.39 kB / 1.029 GB, free: 83.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03476/2.171, allocations: 31.92 MB / 1.06 GB, free: 79.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.171, allocations: 5.469 kB / 1.06 GB, free: 79.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04784/2.218, allocations: 23.13 MB / 1.082 GB, free: 72.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/2.22, allocations: 0.6 MB / 1.083 GB, free: 72.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/2.222, allocations: 63.8 kB / 1.083 GB, free: 72.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004902/2.226, allocations: 408.3 kB / 1.083 GB, free: 72.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/2.228, allocations: 247.5 kB / 1.084 GB, free: 72.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003978/2.228, allocations: 90.95 kB / 1.084 GB, free: 72.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005926/2.234, allocations: 3.908 MB / 1.088 GB, free: 70.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/2.234, allocations: 3.172 kB / 1.088 GB, free: 70.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009907/2.244, allocations: 2.183 MB / 1.09 GB, free: 70.57 MB / 474.7 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.001278/2.245, allocations: 289.3 kB / 1.09 GB, free: 70.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01928/2.265, allocations: 13.92 MB / 1.104 GB, free: 65.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/2.265, allocations: 3.156 kB / 1.104 GB, free: 65.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008301/2.273, allocations: 6.375 MB / 1.11 GB, free: 61.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/2.277, allocations: 0.8214 MB / 1.111 GB, free: 60.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/2.307, allocations: 22.23 MB / 1.132 GB, free: 40.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006208/2.313, allocations: 5.416 MB / 1.138 GB, free: 36.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007373/2.321, allocations: 3.034 MB / 1.141 GB, free: 34.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/2.322, allocations: 382.6 kB / 1.141 GB, free: 34.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/2.322, allocations: 0 / 1.141 GB, free: 34.29 MB / 474.7 MB Notification: Performance of Templates: time 0.3347/2.657, allocations: 99.14 MB / 1.238 GB, free: 90.84 MB / 490.7 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/jenkins/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