Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 114.6 kB / 18.4 MB, free: 4.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 190.7 kB / 21.34 MB, free: 1.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 247 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 358.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09552, allocations: 49.43 MB / 408.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00893/0.1045, allocations: 7.109 MB / 415.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.1106, allocations: 3.153 MB / 418.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007141/0.1114, allocations: 35.88 kB / 418.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.1131, allocations: 0.7782 MB / 419.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.1161, allocations: 1.323 MB / 420.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1171, allocations: 495 kB / 421 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.1205, allocations: 2.531 MB / 423.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.1221, allocations: 1.157 MB / 424.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1232, allocations: 0.7627 MB / 425.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.1246, allocations: 1.102 MB / 426.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.1249, allocations: 136 kB / 426.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.1265, allocations: 0.8775 MB / 427.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00098/0.1275, allocations: 1.001 MB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.1287, allocations: 1.195 MB / 429.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1934/0.3221, allocations: 3.971 MB / 433.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3222, allocations: 0 / 433.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.3222, allocations: 0.75 kB / 433.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.854e-05/0.3223, allocations: 2.219 kB / 433.7 MB, free: 9.301 MB / 350.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.005272/0.3276, allocations: 2.961 MB / 436.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3276, allocations: 8.906 kB / 436.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006328/0.334, allocations: 1.659 MB / 438.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.3365, allocations: 1.332 MB / 439.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.3366, allocations: 119.8 kB / 439.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.3369, allocations: 159.1 kB / 439.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009448/0.3464, allocations: 6.364 MB / 446.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.988e-05/0.3465, allocations: 34.92 kB / 446.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.3468, allocations: 79.67 kB / 446.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.3492, allocations: 1.439 MB / 447.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.3598, allocations: 5.668 MB / 453.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.3891, allocations: 26.26 MB / 479.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/0.3937, allocations: 2.268 MB / 482 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.3952, allocations: 1.016 MB / 483.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.3953, allocations: 22.86 kB / 483.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3953, allocations: 43.19 kB / 483.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.3953, allocations: 0 / 483.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02228/0.4176, allocations: 8.708 MB / 491.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.4177, allocations: 140.5 kB / 492 MB, free: 4.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/0.4218, allocations: 2.833 MB / 494.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.4221, allocations: 37.7 kB / 494.8 MB, free: 1.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.4237, allocations: 2.166 MB / 497 MB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006356/0.4244, allocations: 456.5 kB / 497.5 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/0.4261, allocations: 0.8921 MB / 498.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4263, allocations: 304.6 kB / 498.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.4299, allocations: 1.414 MB / 0.4883 GB, free: 12.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006389/0.4363, allocations: 4.244 MB / 0.4925 GB, free: 6.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/0.4473, allocations: 6.143 MB / 0.4985 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.943e-05/0.4474, allocations: 28 kB / 0.4985 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01377/0.4612, allocations: 6.118 MB / 0.5045 GB, free: 9.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.4613, allocations: 48 kB / 0.5045 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/0.4615, allocations: 104 kB / 0.5046 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.464, allocations: 0.7927 MB / 0.5054 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/0.4672, allocations: 0.9942 MB / 0.5064 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/0.4735, allocations: 4.481 MB / 0.5108 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.4768, allocations: 246.6 kB / 0.511 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007149/0.4775, allocations: 274.7 kB / 0.5112 GB, free: 2.617 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.002639/0.4802, allocations: 1.374 MB / 0.5126 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/0.4807, allocations: 246.3 kB / 0.5128 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.4851, allocations: 1.841 MB / 0.5146 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.4851, allocations: 16 kB / 0.5146 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4852, allocations: 0 / 0.5146 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.4852, allocations: 11.92 kB / 0.5146 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.4953, allocations: 4.798 MB / 0.5193 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.4953, allocations: 8.062 kB / 0.5193 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/0.496, allocations: 131.8 kB / 0.5195 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.4982, allocations: 0.6405 MB / 0.5201 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.4983, allocations: 27.03 kB / 0.5201 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.504, allocations: 3.945 MB / 0.524 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.5041, allocations: 5.25 kB / 0.524 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007017/0.5111, allocations: 3.701 MB / 0.5276 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000752/0.5119, allocations: 307.3 kB / 0.5279 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004784/0.5124, allocations: 18.72 kB / 0.5279 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5135, allocations: 63.92 kB / 0.528 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.5137, allocations: 55.86 kB / 0.528 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.5138, allocations: 32 kB / 0.528 GB, free: 1.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003408/0.5172, allocations: 1.758 MB / 0.5298 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.5172, allocations: 0 / 0.5298 GB, free: 15.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003958/0.5212, allocations: 0.6477 MB / 0.5304 GB, free: 14.73 MB / 446.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.00048/0.5217, allocations: 154 kB / 0.5305 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006062/0.5277, allocations: 3.423 MB / 0.5339 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.5278, allocations: 0 / 0.5339 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.5292, allocations: 0.9284 MB / 0.5348 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.5314, allocations: 255.9 kB / 0.535 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.5424, allocations: 5.779 MB / 0.5407 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/0.5454, allocations: 2.187 MB / 0.5428 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/0.5461, allocations: 203.3 kB / 0.543 GB, free: 1.746 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5461, allocations: 0 / 0.543 GB, free: 1.746 MB / 446.1 MB Notification: Performance of Templates: time 0.07003/0.6161, allocations: 47.54 MB / 0.5894 GB, free: 2.281 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.280833672033623]