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.001069/0.001069, allocations: 111.4 kB / 18.4 MB, free: 4.672 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.001/0.001, allocations: 183.1 kB / 19.34 MB, free: 3.746 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.248/1.248, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001191/0.001192, allocations: 56.2 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07026/0.07146, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1502/0.2217, allocations: 7.116 MB / 383 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.2269, allocations: 3.162 MB / 386.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.2278, allocations: 33.47 kB / 386.1 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.2294, allocations: 0.786 MB / 386.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.2321, allocations: 1.335 MB / 388.3 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.2331, allocations: 0.4975 MB / 388.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.2356, allocations: 2.539 MB / 391.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.2367, allocations: 1.16 MB / 392.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.2374, allocations: 0.7666 MB / 393.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.2386, allocations: 1.107 MB / 394.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.2389, allocations: 134.2 kB / 394.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.2403, allocations: 0.8777 MB / 395.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000773/0.2411, allocations: 1.005 MB / 396.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007665/0.2419, allocations: 1.197 MB / 397.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.2449, allocations: 3.977 MB / 401.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2449, allocations: 0 / 401.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2449, allocations: 0 / 401.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.245, allocations: 1.062 kB / 401.5 MB, free: 1.344 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.003984/0.249, allocations: 2.967 MB / 404.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.249, allocations: 8.094 kB / 404.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/0.2547, allocations: 1.66 MB / 406.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.2569, allocations: 1.386 MB / 407.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/0.257, allocations: 128.1 kB / 407.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.2573, allocations: 155.8 kB / 407.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007869/0.2652, allocations: 6.36 MB / 414.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.2652, allocations: 35.75 kB / 414.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.2655, allocations: 76.7 kB / 414.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/0.2677, allocations: 1.437 MB / 415.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008265/0.276, allocations: 5.674 MB / 421.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/0.2996, allocations: 26.24 MB / 447.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.3037, allocations: 2.269 MB / 449.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.305, allocations: 1.026 MB / 450.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/0.3051, allocations: 15.98 kB / 451 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3051, allocations: 46.5 kB / 451 MB, free: 2.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.3051, allocations: 0 / 451 MB, free: 2.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.01942/0.3245, allocations: 8.739 MB / 459.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3246, allocations: 144.5 kB / 459.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.3279, allocations: 2.832 MB / 462.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.328, allocations: 37.7 kB / 462.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.3292, allocations: 2.17 MB / 464.9 MB, free: 4.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/0.3295, allocations: 460.6 kB / 465.4 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.3306, allocations: 0.8855 MB / 466.3 MB, free: 3.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.3306, allocations: 305.1 kB / 466.6 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.3326, allocations: 1.414 MB / 468 MB, free: 1.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003536/0.3362, allocations: 4.25 MB / 472.2 MB, free: 11.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005836/0.342, allocations: 6.134 MB / 478.4 MB, free: 4.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.408e-05/0.3421, allocations: 28 kB / 478.4 MB, free: 4.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009281/0.3513, allocations: 6.118 MB / 484.5 MB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/0.3514, allocations: 52.06 kB / 484.5 MB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-05/0.3515, allocations: 100 kB / 484.6 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.3537, allocations: 0.7889 MB / 485.4 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.3563, allocations: 0.9903 MB / 486.4 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.3618, allocations: 4.49 MB / 490.9 MB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.3643, allocations: 251.6 kB / 491.2 MB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/0.3646, allocations: 276 kB / 491.4 MB, free: 7.055 MB / 414.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.001717/0.3663, allocations: 1.376 MB / 492.8 MB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.3667, allocations: 242.4 kB / 493 MB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.3702, allocations: 1.849 MB / 494.9 MB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3703, allocations: 7.969 kB / 494.9 MB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3703, allocations: 4 kB / 494.9 MB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.3709, allocations: 451.2 kB / 495.3 MB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.3712, allocations: 12 kB / 495.4 MB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.372, allocations: 67.91 kB / 495.4 MB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.3722, allocations: 56.34 kB / 495.5 MB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004103/0.3763, allocations: 2.418 MB / 497.9 MB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003397/0.3797, allocations: 3.038 MB / 0.4892 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008643/0.3806, allocations: 0.7108 MB / 0.4899 GB, free: 12.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0023/0.3829, allocations: 1.766 MB / 0.4916 GB, free: 10.98 MB / 430.1 MB Notification: Performance of Backend: time 7.01e-07/0.3829, allocations: 0 / 0.4916 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005459/0.3884, allocations: 2.992 MB / 0.4945 GB, free: 7.988 MB / 430.1 MB Notification: Performance of SimCode: time 0.007425/0.3958, allocations: 5.882 MB / 0.5003 GB, free: 2.047 MB / 430.1 MB Notification: Performance of Templates: time 0.04794/0.4438, allocations: 28.75 MB / 0.5283 GB, free: 5.254 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches