Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.494e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.0865, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4097, allocations: 90.05 MB / 453.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.41, allocations: 87.14 kB / 453.2 MB, free: 5.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1518/0.5618, allocations: 56.81 MB / 0.4981 GB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5619, allocations: 4 kB / 0.4981 GB, free: 2.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.91e-05/0.562, allocations: 51.98 kB / 0.4981 GB, free: 2.254 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.006025/0.568, allocations: 2.533 MB / 0.5006 GB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5681, allocations: 8.031 kB / 0.5006 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008898/0.577, allocations: 1.966 MB / 0.5025 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008953/0.586, allocations: 3.294 MB / 0.5057 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.5862, allocations: 72 kB / 0.5058 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009685/0.5872, allocations: 144 kB / 0.506 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006842/0.594, allocations: 3.916 MB / 0.5098 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.6043, allocations: 6.184 MB / 0.5158 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.6044, allocations: 47.52 kB / 0.5159 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/0.6048, allocations: 28 kB / 0.5159 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/0.606, allocations: 0.7072 MB / 0.5166 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2079/0.8139, allocations: 32.06 MB / 0.5479 GB, free: 86.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.8164, allocations: 2.023 MB / 0.5499 GB, free: 85.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.8175, allocations: 0.9928 MB / 0.5508 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.8176, allocations: 16.86 kB / 0.5508 GB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.8176, allocations: 45.75 kB / 0.5509 GB, free: 85.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 3.556e-06/0.8176, allocations: 0 / 0.5509 GB, free: 85.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01467/0.8323, allocations: 8.202 MB / 0.5589 GB, free: 83.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.8324, allocations: 137.9 kB / 0.559 GB, free: 83.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/0.8351, allocations: 2.177 MB / 0.5612 GB, free: 83.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.8352, allocations: 25.7 kB / 0.5612 GB, free: 83.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008045/0.836, allocations: 2.134 MB / 0.5633 GB, free: 82.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.8363, allocations: 429.6 kB / 0.5637 GB, free: 82.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.8364, allocations: 0 / 0.5637 GB, free: 82.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.8366, allocations: 0.5415 MB / 0.5642 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.838, allocations: 1.314 MB / 0.5655 GB, free: 81.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.8403, allocations: 4.235 MB / 0.5696 GB, free: 77.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.8426, allocations: 2.339 MB / 0.5719 GB, free: 77.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.8426, allocations: 32.81 kB / 0.5719 GB, free: 77.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.00779/0.8504, allocations: 5.488 MB / 0.5773 GB, free: 76.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.8505, allocations: 50.81 kB / 0.5773 GB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.654e-05/0.8506, allocations: 107.7 kB / 0.5774 GB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.8527, allocations: 0.8092 MB / 0.5782 GB, free: 75.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.8555, allocations: 1.034 MB / 0.5792 GB, free: 75.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.8598, allocations: 3.975 MB / 0.5831 GB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.8631, allocations: 201 kB / 0.5833 GB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004945/0.8636, allocations: 285.6 kB / 0.5836 GB, free: 73.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (555): * Single equations (assignments): 551 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004987/0.8641, allocations: 364.7 kB / 0.5839 GB, free: 73.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.8644, allocations: 212.8 kB / 0.5841 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.8676, allocations: 1.784 MB / 0.5859 GB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.8677, allocations: 10.62 kB / 0.5859 GB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.8677, allocations: 3.938 kB / 0.5859 GB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.8677, allocations: 7.156 kB / 0.5859 GB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007217/0.8749, allocations: 4.312 MB / 0.5901 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.875, allocations: 0 / 0.5901 GB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.8756, allocations: 143.1 kB / 0.5903 GB, free: 71.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/0.8774, allocations: 0.6358 MB / 0.5909 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/0.8775, allocations: 3.969 kB / 0.5909 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.8812, allocations: 3.51 MB / 0.5943 GB, free: 69.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8812, allocations: 0 / 0.5943 GB, free: 69.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.886, allocations: 3.671 MB / 0.5979 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/0.887, allocations: 423.6 kB / 0.5983 GB, free: 67.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.8873, allocations: 7.922 kB / 0.5983 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008905/0.8882, allocations: 63.66 kB / 0.5984 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.8883, allocations: 51.09 kB / 0.5984 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.8884, allocations: 31.72 kB / 0.5984 GB, free: 67.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001849/0.8903, allocations: 1.429 MB / 0.5998 GB, free: 66.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8903, allocations: 0 / 0.5998 GB, free: 66.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003171/0.8935, allocations: 0.5574 MB / 0.6004 GB, free: 66.79 MB / 410.7 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 (75): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003217/0.8938, allocations: 144.6 kB / 0.6005 GB, free: 66.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.8978, allocations: 3.165 MB / 0.6036 GB, free: 64.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8978, allocations: 0 / 0.6036 GB, free: 64.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.8988, allocations: 0.8994 MB / 0.6045 GB, free: 63.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.8999, allocations: 196 kB / 0.6047 GB, free: 63.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/0.9068, allocations: 4.372 MB / 0.6089 GB, free: 59.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.9084, allocations: 2.25 MB / 0.6111 GB, free: 57.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002943/0.9113, allocations: 1.445 MB / 0.6126 GB, free: 56.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.9117, allocations: 155 kB / 0.6127 GB, free: 56.44 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.9117, allocations: 4 kB / 0.6127 GB, free: 56.44 MB / 410.7 MB Notification: Performance of Templates: time 0.02811/0.9398, allocations: 19.11 MB / 0.6314 GB, free: 40.91 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches