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.001535/0.001534, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001915/0.001915, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.469/1.469, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001169/0.001169, allocations: 55.91 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09551, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2127/0.3083, allocations: 7.116 MB / 382.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005921/0.3143, allocations: 3.162 MB / 385.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00098/0.3153, allocations: 31.62 kB / 385.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.3171, allocations: 0.7852 MB / 386.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.3205, allocations: 1.317 MB / 387.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3218, allocations: 0.4938 MB / 388.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003936/0.3258, allocations: 2.533 MB / 390.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3276, allocations: 1.165 MB / 391.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.3291, allocations: 0.7614 MB / 392.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3312, allocations: 1.112 MB / 393.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006007/0.3318, allocations: 133.8 kB / 393.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.334, allocations: 0.8779 MB / 394.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.3353, allocations: 0.9985 MB / 395.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.3364, allocations: 1.191 MB / 396.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005274/0.3417, allocations: 3.983 MB / 400.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3417, allocations: 0 / 400.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3417, allocations: 1.594 kB / 400.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001109/0.3418, allocations: 0 / 400.8 MB, free: 1.367 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.007714/0.3496, allocations: 2.971 MB / 403.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.3496, allocations: 13.5 kB / 403.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/0.3565, allocations: 1.649 MB / 405.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.3598, allocations: 1.384 MB / 406.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.36, allocations: 125.6 kB / 407 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/0.3604, allocations: 156.6 kB / 407.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.3711, allocations: 6.37 MB / 413.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.949e-05/0.3712, allocations: 27.75 kB / 413.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.3715, allocations: 79.89 kB / 413.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002593/0.3741, allocations: 1.429 MB / 415 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.3853, allocations: 5.686 MB / 420.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03366/0.419, allocations: 26.24 MB / 446.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/0.4238, allocations: 2.269 MB / 449.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.4253, allocations: 1.03 MB / 450.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.967e-05/0.4253, allocations: 8 kB / 450.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.4254, allocations: 50.5 kB / 450.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 5.089e-06/0.4254, allocations: 0 / 450.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02575/0.4512, allocations: 8.731 MB / 459 MB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4513, allocations: 144.5 kB / 459.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005753/0.4571, allocations: 2.836 MB / 462 MB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.4573, allocations: 45.69 kB / 462 MB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.4588, allocations: 2.163 MB / 464.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005487/0.4594, allocations: 452.7 kB / 464.6 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.4606, allocations: 0.8933 MB / 465.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4608, allocations: 301.1 kB / 465.8 MB, free: 2.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.463, allocations: 1.414 MB / 467.3 MB, free: 1.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004081/0.4671, allocations: 4.242 MB / 471.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0067/0.4738, allocations: 6.139 MB / 477.6 MB, free: 4.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.444e-05/0.4739, allocations: 32 kB / 477.7 MB, free: 4.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01196/0.4859, allocations: 6.11 MB / 483.8 MB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.486, allocations: 56.3 kB / 483.8 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/0.4861, allocations: 101.1 kB / 483.9 MB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.4884, allocations: 0.7889 MB / 484.7 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/0.4916, allocations: 0.9979 MB / 485.7 MB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/0.4977, allocations: 4.501 MB / 490.2 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.502, allocations: 247.6 kB / 490.5 MB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009734/0.503, allocations: 272 kB / 490.7 MB, free: 7.07 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.003861/0.5069, allocations: 1.376 MB / 492.1 MB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008909/0.5078, allocations: 242.4 kB / 492.3 MB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.5125, allocations: 1.849 MB / 494.2 MB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/0.5126, allocations: 12 kB / 494.2 MB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/0.5126, allocations: 11.94 kB / 494.2 MB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.5127, allocations: 3.984 kB / 494.2 MB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.5235, allocations: 4.797 MB / 499 MB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.5236, allocations: 0 / 499 MB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.5242, allocations: 143.8 kB / 499.1 MB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/0.5263, allocations: 0.6405 MB / 499.8 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.5265, allocations: 16 kB / 499.8 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.5315, allocations: 3.961 MB / 0.492 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5316, allocations: 4 kB / 0.492 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006196/0.5378, allocations: 3.714 MB / 0.4956 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.5392, allocations: 447.2 kB / 0.496 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/0.5398, allocations: 19.98 kB / 0.496 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.5412, allocations: 59.86 kB / 0.4961 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.5414, allocations: 55.92 kB / 0.4961 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5416, allocations: 24 kB / 0.4962 GB, free: 5.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004116/0.5457, allocations: 1.77 MB / 0.4979 GB, free: 3.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5457, allocations: 4.062 kB / 0.4979 GB, free: 3.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004997/0.5507, allocations: 0.6445 MB / 0.4985 GB, free: 2.977 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.00042/0.5511, allocations: 143 kB / 0.4987 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006087/0.5572, allocations: 3.425 MB / 0.502 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.5573, allocations: 0 / 0.502 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.5585, allocations: 0.9323 MB / 0.5029 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.5605, allocations: 261.5 kB / 0.5032 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.5696, allocations: 5.519 MB / 0.5086 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.5716, allocations: 2.18 MB / 0.5107 GB, free: 6.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002865/0.5745, allocations: 1.407 MB / 0.5121 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.5749, allocations: 167.4 kB / 0.5122 GB, free: 4.852 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5749, allocations: 0 / 0.5122 GB, free: 4.852 MB / 446.1 MB Notification: Performance of Templates: time 0.04012/0.6151, allocations: 20.72 MB / 0.5325 GB, free: 100 kB / 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