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.001073/0.001073, allocations: 110.6 kB / 18.4 MB, free: 4.676 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.001031/0.001031, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.258/1.258, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001185/0.001185, allocations: 51.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07133/0.07252, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1516/0.2241, allocations: 7.127 MB / 383 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004315/0.2285, allocations: 3.154 MB / 386.1 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.2289, allocations: 32.09 kB / 386.1 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2303, allocations: 0.7852 MB / 386.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.2324, allocations: 1.316 MB / 388.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008902/0.2333, allocations: 0.4977 MB / 388.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002623/0.236, allocations: 2.537 MB / 391.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.2372, allocations: 1.165 MB / 392.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008394/0.238, allocations: 0.7645 MB / 393.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2392, allocations: 1.107 MB / 394.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.2394, allocations: 134.8 kB / 394.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.2409, allocations: 0.8777 MB / 395.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008017/0.2417, allocations: 1.001 MB / 396.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007654/0.2425, allocations: 1.195 MB / 397.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.2454, allocations: 3.965 MB / 401.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2455, allocations: 0 / 401.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2455, allocations: 3.938 kB / 401.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.2455, allocations: 0 / 401.5 MB, free: 1.355 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.00416/0.2497, allocations: 2.887 MB / 404.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2497, allocations: 8.844 kB / 404.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005816/0.2555, allocations: 1.639 MB / 406 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.2577, allocations: 1.386 MB / 407.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/0.2578, allocations: 120.6 kB / 407.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.2581, allocations: 156.4 kB / 407.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007811/0.2659, allocations: 6.366 MB / 414 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.266, allocations: 31.66 kB / 414.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.2663, allocations: 83.89 kB / 414.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.2686, allocations: 1.425 MB / 415.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00842/0.2771, allocations: 5.681 MB / 421.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02622/0.3033, allocations: 26.19 MB / 447.5 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.3075, allocations: 2.263 MB / 449.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.3087, allocations: 1.031 MB / 450.7 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.3088, allocations: 23.97 kB / 450.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3088, allocations: 42.5 kB / 450.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.828e-06/0.3089, allocations: 0 / 450.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02147/0.3303, allocations: 8.607 MB / 459.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3304, allocations: 144.5 kB / 459.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/0.3346, allocations: 2.831 MB / 462.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.3348, allocations: 37.7 kB / 462.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.3362, allocations: 2.071 MB / 464.5 MB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.3366, allocations: 438.6 kB / 464.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/0.3378, allocations: 0.8808 MB / 465.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.338, allocations: 305.3 kB / 466.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.3402, allocations: 1.414 MB / 467.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/0.3442, allocations: 4.25 MB / 471.8 MB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006268/0.3505, allocations: 6.135 MB / 477.9 MB, free: 4.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.474e-05/0.3506, allocations: 32 kB / 477.9 MB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01046/0.3611, allocations: 6.105 MB / 484 MB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.3612, allocations: 52 kB / 484.1 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.3613, allocations: 100 kB / 484.2 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/0.3636, allocations: 0.793 MB / 485 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.3664, allocations: 0.9902 MB / 486 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/0.372, allocations: 4.476 MB / 490.5 MB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.3747, allocations: 255.4 kB / 490.7 MB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.3751, allocations: 276 kB / 491 MB, free: 7.461 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.001916/0.377, allocations: 1.364 MB / 492.3 MB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.3774, allocations: 233 kB / 492.6 MB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.3812, allocations: 1.857 MB / 494.4 MB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3813, allocations: 7.969 kB / 494.4 MB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.3813, allocations: 4 kB / 494.4 MB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/0.3821, allocations: 437.8 kB / 494.9 MB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.3825, allocations: 20 kB / 494.9 MB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/0.3835, allocations: 67.89 kB / 494.9 MB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.3836, allocations: 60.34 kB / 495 MB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00415/0.3878, allocations: 2.403 MB / 497.4 MB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003464/0.3913, allocations: 3.029 MB / 0.4887 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008686/0.3921, allocations: 0.7071 MB / 0.4894 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002915/0.3951, allocations: 1.762 MB / 0.4911 GB, free: 11.43 MB / 430.1 MB Notification: Performance of Backend: time 3.3e-07/0.3951, allocations: 0 / 0.4911 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006119/0.4012, allocations: 2.996 MB / 0.494 GB, free: 8.434 MB / 430.1 MB Notification: Performance of SimCode: time 0.008793/0.41, allocations: 5.799 MB / 0.4997 GB, free: 2.582 MB / 430.1 MB Notification: Performance of Templates: time 0.05172/0.4617, allocations: 28.73 MB / 0.5278 GB, free: 5.809 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