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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 112 kB / 17.28 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 185.4 kB / 18.2 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 51.92 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09818, allocations: 46.62 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01414/0.1124, allocations: 14.1 MB / 340.9 MB, free: 6.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00822/0.1206, allocations: 4.273 MB / 345.2 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.123, allocations: 55.88 kB / 345.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.1249, allocations: 0.736 MB / 345.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.1278, allocations: 1.227 MB / 347.2 MB, free: 328 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1288, allocations: 471.2 kB / 347.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.1317, allocations: 2.575 MB / 350.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.1331, allocations: 1.239 MB / 351.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.134, allocations: 0.7666 MB / 352.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.1353, allocations: 1.254 MB / 353.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.1356, allocations: 132 kB / 353.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.137, allocations: 0.8892 MB / 354.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008346/0.1378, allocations: 1.017 MB / 355.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.1389, allocations: 1.223 MB / 356.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.1428, allocations: 3.832 MB / 360.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1428, allocations: 0 / 360.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1428, allocations: 0 / 360.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.874e-05/0.1429, allocations: 3.938 kB / 360.6 MB, free: 2.879 MB / 302.1 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.004765/0.1476, allocations: 2.89 MB / 363.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1477, allocations: 12.03 kB / 363.5 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.1533, allocations: 1.643 MB / 365.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.1571, allocations: 1.363 MB / 366.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1573, allocations: 118.8 kB / 366.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.1577, allocations: 159.8 kB / 366.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009233/0.1669, allocations: 6.363 MB / 373.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.553e-05/0.167, allocations: 31.75 kB / 373.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.1673, allocations: 79.89 kB / 373.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/0.1697, allocations: 1.433 MB / 374.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1871/0.3568, allocations: 5.662 MB / 380.3 MB, free: 49.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.3854, allocations: 26.3 MB / 406.6 MB, free: 30.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.3892, allocations: 2.262 MB / 408.9 MB, free: 29.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009731/0.3902, allocations: 1.024 MB / 409.9 MB, free: 28.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.3902, allocations: 13.5 kB / 409.9 MB, free: 28.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3903, allocations: 44.23 kB / 409.9 MB, free: 28.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 2.765e-06/0.3903, allocations: 0 / 409.9 MB, free: 28.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01791/0.4082, allocations: 8.603 MB / 418.5 MB, free: 22.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4083, allocations: 142.2 kB / 418.7 MB, free: 22.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.4113, allocations: 2.828 MB / 421.5 MB, free: 19.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.4115, allocations: 45.69 kB / 421.6 MB, free: 19.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.4123, allocations: 2.073 MB / 423.6 MB, free: 17.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.4126, allocations: 434 kB / 424.1 MB, free: 16.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000787/0.4134, allocations: 0.8885 MB / 424.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.4134, allocations: 301.1 kB / 425.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.415, allocations: 1.417 MB / 426.7 MB, free: 14.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.4175, allocations: 4.25 MB / 430.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.4224, allocations: 6.142 MB / 437 MB, free: 1.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.628e-05/0.4225, allocations: 35.94 kB / 437.1 MB, free: 1 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01056/0.433, allocations: 6.104 MB / 443.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.4331, allocations: 48 kB / 443.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.936e-05/0.4332, allocations: 100 kB / 443.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.4355, allocations: 0.7956 MB / 444.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.4381, allocations: 0.9942 MB / 445.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006003/0.4442, allocations: 4.469 MB / 449.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.4472, allocations: 243.6 kB / 449.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003682/0.4476, allocations: 276 kB / 450.1 MB, free: 3.832 MB / 334.1 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.00195/0.4496, allocations: 1.368 MB / 451.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.4499, allocations: 232.9 kB / 451.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.4535, allocations: 1.857 MB / 453.5 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.4535, allocations: 15.98 kB / 453.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.4536, allocations: 4 kB / 453.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.4536, allocations: 3.984 kB / 453.6 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008016/0.4616, allocations: 4.82 MB / 458.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4616, allocations: 0 / 458.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.4622, allocations: 135.8 kB / 458.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.4641, allocations: 0.6494 MB / 459.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.4642, allocations: 19.98 kB / 459.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.469, allocations: 3.946 MB / 463.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.469, allocations: 4.031 kB / 463.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.4744, allocations: 3.695 MB / 466.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/0.4752, allocations: 429.9 kB / 467.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.4755, allocations: 20 kB / 467.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.4763, allocations: 59.91 kB / 467.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4764, allocations: 51.92 kB / 467.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.4765, allocations: 28 kB / 467.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002545/0.4791, allocations: 1.774 MB / 469.2 MB, free: 464 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.4791, allocations: 0 / 469.2 MB, free: 464 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.003309/0.4824, allocations: 0.6558 MB / 469.8 MB, free: 15.8 MB / 366.1 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.0003871/0.4828, allocations: 135.8 kB / 470 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005377/0.4882, allocations: 3.645 MB / 473.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4882, allocations: 1.062 kB / 473.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.4893, allocations: 0.932 MB / 474.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.4909, allocations: 261.3 kB / 474.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/0.5006, allocations: 6.643 MB / 481.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.5027, allocations: 2.188 MB / 483.6 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003142/0.5058, allocations: 1.396 MB / 485 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.5063, allocations: 159.4 kB / 485.2 MB, free: 400 kB / 366.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5063, allocations: 0 / 485.2 MB, free: 400 kB / 366.1 MB Notification: Performance of Templates: time 0.04337/0.5496, allocations: 22.99 MB / 0.4963 GB, free: 9.383 MB / 398.1 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