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.001415/0.001415, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001576/0.001576, allocations: 184.1 kB / 18.66 MB, free: 4.422 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.39/1.39, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001125/0.001125, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09671, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2094/0.3061, allocations: 7.12 MB / 382.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.312, allocations: 3.159 MB / 385.4 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.3134, allocations: 35.38 kB / 385.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.3153, allocations: 0.788 MB / 386.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.3191, allocations: 1.332 MB / 387.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3206, allocations: 0.4976 MB / 388.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.3246, allocations: 2.539 MB / 390.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.3265, allocations: 1.16 MB / 391.8 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.3279, allocations: 0.7649 MB / 392.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.3296, allocations: 1.111 MB / 393.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.33, allocations: 134 kB / 393.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3319, allocations: 0.882 MB / 394.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.3332, allocations: 0.9969 MB / 395.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009982/0.3342, allocations: 1.195 MB / 396.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004074/0.3383, allocations: 3.963 MB / 400.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3383, allocations: 1.25 kB / 400.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3383, allocations: 3.938 kB / 400.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.786e-05/0.3384, allocations: 0 / 400.8 MB, free: 1.352 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.006169/0.3445, allocations: 2.887 MB / 403.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3446, allocations: 12.59 kB / 403.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/0.3508, allocations: 1.632 MB / 405.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.3539, allocations: 1.384 MB / 406.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.3541, allocations: 124.2 kB / 406.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.3544, allocations: 157.7 kB / 407 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009543/0.364, allocations: 6.364 MB / 413.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.23e-05/0.3641, allocations: 31.66 kB / 413.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.3644, allocations: 79.89 kB / 413.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/0.3669, allocations: 1.441 MB / 414.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009794/0.3767, allocations: 5.67 MB / 420.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/0.4053, allocations: 26.2 MB / 446.8 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.4097, allocations: 2.27 MB / 449.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.411, allocations: 1.027 MB / 450.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.4111, allocations: 11.98 kB / 450.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4111, allocations: 50.5 kB / 450.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.897e-06/0.4111, allocations: 0 / 450.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02091/0.432, allocations: 8.603 MB / 458.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.4321, allocations: 144.4 kB / 458.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/0.4361, allocations: 2.828 MB / 461.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.4363, allocations: 37.7 kB / 461.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.4377, allocations: 2.071 MB / 463.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.4381, allocations: 442.6 kB / 464.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.4392, allocations: 0.8769 MB / 465.1 MB, free: 3.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4393, allocations: 301.3 kB / 465.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.4415, allocations: 1.418 MB / 466.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/0.4454, allocations: 4.25 MB / 471.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/0.4522, allocations: 6.135 MB / 477.2 MB, free: 4.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-05/0.4523, allocations: 28.88 kB / 477.3 MB, free: 4.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01072/0.463, allocations: 6.113 MB / 483.4 MB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.4631, allocations: 48 kB / 483.4 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-05/0.4632, allocations: 100 kB / 483.5 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/0.4655, allocations: 0.7966 MB / 484.3 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.4684, allocations: 0.998 MB / 485.3 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.474, allocations: 4.485 MB / 489.8 MB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.4769, allocations: 239.6 kB / 490 MB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.4772, allocations: 280.8 kB / 490.3 MB, free: 7.457 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.001846/0.4791, allocations: 1.372 MB / 491.7 MB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.4794, allocations: 233 kB / 491.9 MB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.4833, allocations: 1.845 MB / 493.8 MB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.4833, allocations: 12 kB / 493.8 MB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.4833, allocations: 7.938 kB / 493.8 MB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4833, allocations: 7.969 kB / 493.8 MB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008083/0.4914, allocations: 4.793 MB / 498.6 MB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4915, allocations: 7.984 kB / 498.6 MB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.4921, allocations: 139.8 kB / 498.7 MB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.4942, allocations: 0.6444 MB / 499.4 MB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.4943, allocations: 20 kB / 499.4 MB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.4992, allocations: 3.957 MB / 0.4915 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4992, allocations: 0 / 0.4915 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/0.5051, allocations: 3.697 MB / 0.4952 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009048/0.506, allocations: 437.9 kB / 0.4956 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.5063, allocations: 16 kB / 0.4956 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.5071, allocations: 63.84 kB / 0.4957 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5073, allocations: 55.88 kB / 0.4957 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.5074, allocations: 31.98 kB / 0.4957 GB, free: 5.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00278/0.5102, allocations: 1.762 MB / 0.4975 GB, free: 4.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5102, allocations: 4.062 kB / 0.4975 GB, free: 4.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003271/0.5135, allocations: 0.6445 MB / 0.4981 GB, free: 3.402 MB / 430.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.0003625/0.5138, allocations: 143 kB / 0.4982 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005218/0.5191, allocations: 3.413 MB / 0.5016 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5191, allocations: 4 kB / 0.5016 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.5203, allocations: 0.9417 MB / 0.5025 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5218, allocations: 256.1 kB / 0.5027 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008114/0.5299, allocations: 5.443 MB / 0.508 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.5319, allocations: 2.19 MB / 0.5102 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00271/0.5346, allocations: 1.4 MB / 0.5115 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.535, allocations: 171.4 kB / 0.5117 GB, free: 5.359 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.535, allocations: 0 / 0.5117 GB, free: 5.359 MB / 446.1 MB Notification: Performance of Templates: time 0.03977/0.5748, allocations: 20.71 MB / 0.5319 GB, free: 0.6133 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/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