Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 177.6 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008154/0.0008153, allocations: 94.38 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002718, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2442, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01083/0.2551, allocations: 12.7 MB / 389.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009225/0.2644, allocations: 6.888 MB / 396.2 MB, free: 28.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.2666, allocations: 55.88 kB / 396.2 MB, free: 28.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.2673, allocations: 278.7 kB / 396.5 MB, free: 27.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.2698, allocations: 1.23 MB / 397.7 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.2706, allocations: 459.3 kB / 398.2 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002629/0.2732, allocations: 3.453 MB / 401.6 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.2748, allocations: 1.566 MB / 403.2 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.2755, allocations: 0.708 MB / 403.9 MB, free: 20.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009937/0.2765, allocations: 1.16 MB / 405.1 MB, free: 19.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.2767, allocations: 80 kB / 405.2 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2779, allocations: 0.854 MB / 406 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.2786, allocations: 0.962 MB / 407 MB, free: 17.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.2793, allocations: 1.17 MB / 408.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.2818, allocations: 3.692 MB / 411.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2819, allocations: 4 kB / 411.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2819, allocations: 0 / 411.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.2819, allocations: 3.938 kB / 411.8 MB, free: 12.45 MB / 298.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.002972/0.2849, allocations: 2.399 MB / 414.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2849, allocations: 12.03 kB / 414.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/0.2897, allocations: 1.69 MB / 415.9 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.292, allocations: 1.363 MB / 417.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.2921, allocations: 122.8 kB / 417.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.2924, allocations: 147.9 kB / 417.6 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007359/0.2998, allocations: 6.367 MB / 423.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.2999, allocations: 31.73 kB / 424 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.3001, allocations: 79.89 kB / 424 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/0.3026, allocations: 1.445 MB / 425.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3129, allocations: 5.65 MB / 431.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02868/0.3417, allocations: 26.29 MB / 457.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.3457, allocations: 2.265 MB / 459.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3469, allocations: 1.016 MB / 460.7 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.3469, allocations: 12 kB / 460.7 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.347, allocations: 50.25 kB / 460.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 2.906e-06/0.347, allocations: 0 / 460.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.01849/0.3655, allocations: 8.566 MB / 469.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.3656, allocations: 140.5 kB / 469.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/0.3692, allocations: 2.82 MB / 472.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.3693, allocations: 41.61 kB / 472.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.3707, allocations: 2.071 MB / 474.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.3711, allocations: 438.6 kB / 474.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.3713, allocations: 84 kB / 474.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.3716, allocations: 0.4919 MB / 475.4 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.3736, allocations: 1.398 MB / 476.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/0.3771, allocations: 4.23 MB / 481 MB, free: 3.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006863/0.384, allocations: 6.115 MB / 487.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.643e-05/0.3841, allocations: 28 kB / 487.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01051/0.3947, allocations: 6.075 MB / 493.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.3948, allocations: 48 kB / 493.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.463e-05/0.3949, allocations: 100 kB / 493.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.397, allocations: 0.8052 MB / 494.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.3997, allocations: 0.9825 MB / 495.2 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.4048, allocations: 4.149 MB / 499.3 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.4075, allocations: 243.7 kB / 499.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.4079, allocations: 276 kB / 499.8 MB, free: 15.56 MB / 394.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 {(3,10,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.4098, allocations: 1.375 MB / 0.4895 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.4101, allocations: 229 kB / 0.4897 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.4137, allocations: 1.853 MB / 0.4915 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.4137, allocations: 12 kB / 0.4915 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.4137, allocations: 12.08 kB / 0.4915 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4138, allocations: 7.969 kB / 0.4915 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008113/0.4219, allocations: 4.793 MB / 0.4962 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4219, allocations: 3.984 kB / 0.4962 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.4225, allocations: 139.9 kB / 0.4963 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.4244, allocations: 0.6443 MB / 0.497 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.4245, allocations: 20 kB / 0.497 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.4291, allocations: 3.69 MB / 0.5006 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4291, allocations: 3.938 kB / 0.5006 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2277/0.6569, allocations: 3.677 MB / 0.5042 GB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.6584, allocations: 447.6 kB / 0.5046 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004921/0.6589, allocations: 14.38 kB / 0.5046 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.6604, allocations: 62.58 kB / 0.5047 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.6607, allocations: 63.44 kB / 0.5048 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6608, allocations: 27.8 kB / 0.5048 GB, free: 120.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004914/0.6657, allocations: 1.738 MB / 0.5065 GB, free: 120.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.6658, allocations: 0.5 kB / 0.5065 GB, free: 120.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007266/0.6731, allocations: 0.6513 MB / 0.5071 GB, free: 120.2 MB / 394.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.0005214/0.6736, allocations: 144 kB / 0.5073 GB, free: 120.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008727/0.6824, allocations: 3.399 MB / 0.5106 GB, free: 119 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6824, allocations: 0 / 0.5106 GB, free: 119 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.6845, allocations: 0.9317 MB / 0.5115 GB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/0.6877, allocations: 241.3 kB / 0.5117 GB, free: 118.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.7003, allocations: 6.715 MB / 0.5183 GB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/0.703, allocations: 2.193 MB / 0.5204 GB, free: 114.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004817/0.7078, allocations: 1.398 MB / 0.5218 GB, free: 113.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.7085, allocations: 168.5 kB / 0.5219 GB, free: 113.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7085, allocations: 4 kB / 0.5219 GB, free: 113.9 MB / 394.7 MB Notification: Performance of Templates: time 0.05168/0.7602, allocations: 21.83 MB / 0.5433 GB, free: 92.75 MB / 394.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