Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00124/0.00124, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001367/0.001367, allocations: 181.3 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002463, allocations: 5.219 kB / 300.7 MB, free: 6.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09096, allocations: 50.42 MB / 351.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01156/0.1026, allocations: 11.97 MB / 363.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007988/0.1106, allocations: 4.115 MB / 367.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1118, allocations: 59.81 kB / 367.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.1128, allocations: 0.5327 MB / 367.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.1169, allocations: 1.952 MB / 369.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.1178, allocations: 395.3 kB / 370.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.1199, allocations: 1.445 MB / 371.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.1216, allocations: 1.325 MB / 372.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.1223, allocations: 0.6033 MB / 373.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009048/0.1232, allocations: 0.8294 MB / 374.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.1234, allocations: 80 kB / 374.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.1245, allocations: 0.7177 MB / 375.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007208/0.1252, allocations: 0.8766 MB / 376 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.1256, allocations: 496.1 kB / 376.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.1283, allocations: 2.946 MB / 379.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.1283, allocations: 0 / 379.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1283, allocations: 0 / 379.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.206e-05/0.1284, allocations: 4 kB / 379.5 MB, free: 15.41 MB / 318.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.003915/0.1323, allocations: 2.489 MB / 382 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1323, allocations: 8.031 kB / 382 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/0.1389, allocations: 1.974 MB / 383.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.1415, allocations: 1.394 MB / 385.3 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/0.1416, allocations: 114.9 kB / 385.4 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/0.142, allocations: 159.8 kB / 385.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008965/0.1509, allocations: 6.386 MB / 392 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/0.151, allocations: 31.75 kB / 392 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.1513, allocations: 79.89 kB / 392.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.1536, allocations: 1.433 MB / 393.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009379/0.163, allocations: 5.693 MB / 399.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1857/0.3488, allocations: 26.33 MB / 425.5 MB, free: 58.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.353, allocations: 2.254 MB / 427.8 MB, free: 57.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.3531, allocations: 12.23 kB / 427.8 MB, free: 57.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3531, allocations: 47.22 kB / 427.9 MB, free: 57.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.827e-06/0.3531, allocations: 0 / 427.9 MB, free: 57.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.01995/0.3731, allocations: 8.817 MB / 436.7 MB, free: 55.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3731, allocations: 141.3 kB / 436.8 MB, free: 55.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/0.3766, allocations: 2.919 MB / 439.7 MB, free: 54.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/0.3768, allocations: 41.17 kB / 439.8 MB, free: 54.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009236/0.3777, allocations: 2.075 MB / 441.8 MB, free: 53.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003804/0.3781, allocations: 438.8 kB / 442.3 MB, free: 53.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.3783, allocations: 85.42 kB / 442.4 MB, free: 53.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3785, allocations: 498.7 kB / 442.8 MB, free: 53.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.3809, allocations: 1.392 MB / 444.2 MB, free: 53.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/0.3838, allocations: 4.207 MB / 448.4 MB, free: 49.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.3864, allocations: 2.378 MB / 450.8 MB, free: 48.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/0.3865, allocations: 31.16 kB / 450.9 MB, free: 48.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008119/0.3946, allocations: 6.042 MB / 456.9 MB, free: 46.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.3947, allocations: 48.62 kB / 456.9 MB, free: 46.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.307e-05/0.3948, allocations: 102.4 kB / 457 MB, free: 46.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.3967, allocations: 0.813 MB / 457.9 MB, free: 45.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.3992, allocations: 0.9825 MB / 458.8 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.4037, allocations: 4.247 MB / 463.1 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.4069, allocations: 245.7 kB / 463.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.4073, allocations: 276.8 kB / 463.6 MB, free: 39.48 MB / 350.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 (533): * Single equations (assignments): 529 * 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.001626/0.4089, allocations: 1.366 MB / 465 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.4093, allocations: 240.9 kB / 465.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.4124, allocations: 1.845 MB / 467 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.4125, allocations: 12.62 kB / 467.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.4125, allocations: 4 kB / 467.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4125, allocations: 13.3 kB / 467.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007531/0.42, allocations: 4.795 MB / 471.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4201, allocations: 4 kB / 471.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.4206, allocations: 131.8 kB / 472 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/0.4224, allocations: 0.649 MB / 472.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.4225, allocations: 16.86 kB / 472.7 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/0.4261, allocations: 3.79 MB / 476.5 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4261, allocations: 4.781 kB / 476.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/0.4307, allocations: 3.788 MB / 480.2 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.4312, allocations: 298 kB / 480.5 MB, free: 22.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.4314, allocations: 19.98 kB / 480.6 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.4323, allocations: 61.02 kB / 480.6 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4324, allocations: 51.92 kB / 480.7 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.4325, allocations: 33.31 kB / 480.7 MB, free: 22.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001922/0.4344, allocations: 1.832 MB / 482.5 MB, free: 20.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4344, allocations: 0 / 482.5 MB, free: 20.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002797/0.4372, allocations: 0.6725 MB / 483.2 MB, free: 19.58 MB / 350.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 (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.0002985/0.4375, allocations: 155.9 kB / 483.4 MB, free: 19.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003651/0.4412, allocations: 3.396 MB / 486.8 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4412, allocations: 2.953 kB / 486.8 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.4421, allocations: 0.9326 MB / 487.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.4429, allocations: 241 kB / 487.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.4493, allocations: 6.395 MB / 494.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.4508, allocations: 2.236 MB / 496.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002742/0.4535, allocations: 1.396 MB / 498 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.4538, allocations: 167.4 kB / 498.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4539, allocations: 0 / 498.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.03535/0.4892, allocations: 22 MB / 0.5079 GB, free: 14.7 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches