Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009996/0.0009996, allocations: 100.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008785/0.0008785, allocations: 48.11 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2053, allocations: 50.47 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009761/0.2151, allocations: 14.08 MB / 421.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.2217, allocations: 4.394 MB / 425.5 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.2231, allocations: 55.88 kB / 425.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.2244, allocations: 0.7555 MB / 426.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.2266, allocations: 1.207 MB / 427.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.2273, allocations: 459.2 kB / 428 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.2296, allocations: 3.504 MB / 431.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.2306, allocations: 1.136 MB / 432.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.2311, allocations: 0.6769 MB / 433.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009229/0.2321, allocations: 1.191 MB / 434.5 MB, free: 244 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.2322, allocations: 92 kB / 434.6 MB, free: 152 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.2336, allocations: 0.8813 MB / 435.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008108/0.2344, allocations: 0.9892 MB / 436.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.2354, allocations: 1.172 MB / 437.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.2386, allocations: 3.751 MB / 441.4 MB, free: 9.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2386, allocations: 4 kB / 441.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.2386, allocations: 4 kB / 441.4 MB, free: 9.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.2387, allocations: 0 / 441.4 MB, free: 9.324 MB / 314.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.004661/0.2434, allocations: 2.894 MB / 444.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2434, allocations: 12.59 kB / 444.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/0.2493, allocations: 1.643 MB / 446 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.252, allocations: 1.281 MB / 447.2 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/0.2521, allocations: 126.8 kB / 447.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.2524, allocations: 147.9 kB / 447.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009047/0.2615, allocations: 6.367 MB / 453.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.2616, allocations: 35.66 kB / 453.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.2618, allocations: 79.89 kB / 454 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/0.2642, allocations: 1.433 MB / 455.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/0.2729, allocations: 5.681 MB / 461.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02512/0.2981, allocations: 26.29 MB / 487.4 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/0.3021, allocations: 2.259 MB / 489.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3033, allocations: 1.029 MB / 490.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.3034, allocations: 11.98 kB / 490.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3034, allocations: 46.5 kB / 490.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/0.3034, allocations: 0 / 490.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01922/0.3227, allocations: 8.583 MB / 499.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3228, allocations: 144.5 kB / 499.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/0.326, allocations: 2.819 MB / 0.4905 GB, free: 10.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/0.3261, allocations: 41.89 kB / 0.4905 GB, free: 10.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.3272, allocations: 2.071 MB / 0.4926 GB, free: 8.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.3276, allocations: 442.5 kB / 0.493 GB, free: 8.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009393/0.3285, allocations: 0.8847 MB / 0.4938 GB, free: 7.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.3286, allocations: 301.1 kB / 0.4941 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.3305, allocations: 1.422 MB / 0.4955 GB, free: 5.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1687/0.4992, allocations: 4.238 MB / 0.4997 GB, free: 88.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005827/0.5051, allocations: 6.135 MB / 0.5057 GB, free: 83.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.776e-05/0.5051, allocations: 27.41 kB / 0.5057 GB, free: 83.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009195/0.5143, allocations: 6.114 MB / 0.5116 GB, free: 81.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.5144, allocations: 50.03 kB / 0.5117 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.65e-05/0.5145, allocations: 101.7 kB / 0.5118 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.5166, allocations: 0.8038 MB / 0.5126 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.5189, allocations: 0.9877 MB / 0.5135 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.5232, allocations: 4.15 MB / 0.5176 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.5257, allocations: 242.2 kB / 0.5178 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.5259, allocations: 279.8 kB / 0.5181 GB, free: 78.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.5272, allocations: 1.377 MB / 0.5194 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.5274, allocations: 233.7 kB / 0.5197 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.5307, allocations: 1.855 MB / 0.5215 GB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5307, allocations: 12 kB / 0.5215 GB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5307, allocations: 11.94 kB / 0.5215 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5307, allocations: 3.984 kB / 0.5215 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/0.5374, allocations: 4.782 MB / 0.5262 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.5374, allocations: 0 / 0.5262 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.538, allocations: 135.9 kB / 0.5263 GB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.5398, allocations: 0.6521 MB / 0.5269 GB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.5399, allocations: 19.98 kB / 0.527 GB, free: 70.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.5435, allocations: 3.699 MB / 0.5306 GB, free: 66.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5435, allocations: 4.812 kB / 0.5306 GB, free: 66.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0308/0.5743, allocations: 20.37 MB / 0.5505 GB, free: 46.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.5748, allocations: 290 kB / 0.5507 GB, free: 45.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.575, allocations: 23.92 kB / 0.5508 GB, free: 45.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.5759, allocations: 68.05 kB / 0.5508 GB, free: 45.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.576, allocations: 55.86 kB / 0.5509 GB, free: 45.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.5761, allocations: 28 kB / 0.5509 GB, free: 45.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001983/0.5781, allocations: 1.754 MB / 0.5526 GB, free: 43.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5781, allocations: 0 / 0.5526 GB, free: 43.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003063/0.5812, allocations: 0.8461 MB / 0.5534 GB, free: 42.99 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/0.5815, allocations: 145.7 kB / 0.5536 GB, free: 42.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.5853, allocations: 3.417 MB / 0.5569 GB, free: 39.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5853, allocations: 0 / 0.5569 GB, free: 39.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.5862, allocations: 0.9266 MB / 0.5578 GB, free: 38.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5875, allocations: 247.2 kB / 0.5581 GB, free: 38.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.5945, allocations: 7.495 MB / 0.5654 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.5961, allocations: 2.216 MB / 0.5675 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00281/0.5989, allocations: 1.403 MB / 0.5689 GB, free: 27.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.5993, allocations: 163.4 kB / 0.5691 GB, free: 26.89 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5993, allocations: 4 kB / 0.5691 GB, free: 26.88 MB / 378.7 MB Notification: Performance of Templates: time 0.03366/0.6329, allocations: 26.36 MB / 0.5948 GB, free: 0.6328 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches