Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 75.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.259, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01367/0.2727, allocations: 7.161 MB / 439.2 MB, free: 204 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008973/0.2816, allocations: 3.205 MB / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.2832, allocations: 31.94 kB / 442.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.2858, allocations: 0.8132 MB / 443.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.2905, allocations: 1.312 MB / 444.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.2923, allocations: 491 kB / 445 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005107/0.2974, allocations: 2.554 MB / 447.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.2993, allocations: 0.9501 MB / 448.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.3009, allocations: 0.7549 MB / 449.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.3033, allocations: 1.207 MB / 450.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.3038, allocations: 136 kB / 450.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.3061, allocations: 0.9008 MB / 451.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.3076, allocations: 1.001 MB / 452.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.3093, allocations: 1.176 MB / 453.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.316, allocations: 3.942 MB / 457.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.316, allocations: 0 / 457.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.316, allocations: 4 kB / 457.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001179/0.3162, allocations: 0 / 457.7 MB, free: 13.66 MB / 366.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.007862/0.324, allocations: 2.936 MB / 460.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3241, allocations: 12.02 kB / 460.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/0.3306, allocations: 1.649 MB / 462.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.3336, allocations: 1.317 MB / 463.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.3338, allocations: 118.9 kB / 463.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003409/0.3341, allocations: 155.8 kB / 463.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009693/0.3438, allocations: 6.363 MB / 470.2 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.3439, allocations: 27.75 kB / 470.2 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.3441, allocations: 87.88 kB / 470.3 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002657/0.3468, allocations: 1.433 MB / 471.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.3573, allocations: 5.666 MB / 477.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.3915, allocations: 26.26 MB / 0.4919 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/0.3963, allocations: 2.188 MB / 0.494 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.3976, allocations: 0.9365 MB / 0.4949 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.3977, allocations: 15.98 kB / 0.4949 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3977, allocations: 38.56 kB / 0.495 GB, free: 10.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.246e-06/0.3977, allocations: 0 / 0.495 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02149/0.4192, allocations: 8.711 MB / 0.5035 GB, free: 1.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.4193, allocations: 140.5 kB / 0.5036 GB, free: 1.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.4231, allocations: 2.816 MB / 0.5064 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.4233, allocations: 41.7 kB / 0.5064 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/0.4249, allocations: 2.163 MB / 0.5085 GB, free: 12.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.4254, allocations: 456.6 kB / 0.509 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.4265, allocations: 0.8894 MB / 0.5098 GB, free: 11.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4267, allocations: 305.1 kB / 0.5101 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.4289, allocations: 1.426 MB / 0.5115 GB, free: 9.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004574/0.4335, allocations: 4.242 MB / 0.5157 GB, free: 3.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007758/0.4412, allocations: 6.133 MB / 0.5216 GB, free: 12.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.716e-05/0.4413, allocations: 28 kB / 0.5217 GB, free: 12.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01175/0.453, allocations: 6.115 MB / 0.5276 GB, free: 6.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.4531, allocations: 48 kB / 0.5277 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.4532, allocations: 100 kB / 0.5278 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/0.4556, allocations: 0.8051 MB / 0.5286 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.4586, allocations: 0.9942 MB / 0.5295 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.4648, allocations: 4.464 MB / 0.5339 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/0.468, allocations: 255.7 kB / 0.5341 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000466/0.4684, allocations: 276 kB / 0.5344 GB, free: 15.22 MB / 462.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.002112/0.4705, allocations: 1.364 MB / 0.5357 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.471, allocations: 238.4 kB / 0.536 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.475, allocations: 1.849 MB / 0.5378 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.4751, allocations: 15.94 kB / 0.5378 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4751, allocations: 4 kB / 0.5378 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.4751, allocations: 3.984 kB / 0.5378 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/0.4846, allocations: 4.79 MB / 0.5425 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.4846, allocations: 0 / 0.5425 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/0.4853, allocations: 139.8 kB / 0.5426 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.4874, allocations: 0.6444 MB / 0.5432 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.4875, allocations: 20 kB / 0.5433 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.493, allocations: 3.95 MB / 0.5471 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.493, allocations: 4.031 kB / 0.5471 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3056/0.7986, allocations: 3.694 MB / 0.5507 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.7997, allocations: 302.8 kB / 0.551 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.8, allocations: 17.2 kB / 0.551 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.8012, allocations: 62.58 kB / 0.5511 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.8014, allocations: 53.02 kB / 0.5511 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.8015, allocations: 31.03 kB / 0.5512 GB, free: 113.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00377/0.8053, allocations: 1.753 MB / 0.5529 GB, free: 113.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8053, allocations: 2.406 kB / 0.5529 GB, free: 113.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004019/0.8093, allocations: 0.6286 MB / 0.5535 GB, free: 113.4 MB / 462.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.0003628/0.8097, allocations: 149.7 kB / 0.5536 GB, free: 113.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004841/0.8145, allocations: 3.298 MB / 0.5569 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8145, allocations: 0 / 0.5569 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8156, allocations: 0.8763 MB / 0.5577 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.8172, allocations: 252.6 kB / 0.558 GB, free: 111.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/0.8248, allocations: 5.552 MB / 0.5634 GB, free: 109.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.8263, allocations: 2.181 MB / 0.5655 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002416/0.8287, allocations: 1.4 MB / 0.5669 GB, free: 108.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.829, allocations: 161.4 kB / 0.567 GB, free: 108 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.829, allocations: 4 kB / 0.567 GB, free: 108 MB / 462.1 MB Notification: Performance of Templates: time 0.03524/0.8643, allocations: 21.99 MB / 0.5885 GB, free: 86.95 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.9612269550561905]