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.001278/0.001278, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001427/0.001427, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.426/1.426, 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.002027/0.002027, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2192, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009064/0.2283, allocations: 7.149 MB / 439.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00603/0.2343, allocations: 3.205 MB / 442.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008402/0.2352, allocations: 35.94 kB / 442.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.237, allocations: 0.8015 MB / 443.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.2401, allocations: 1.316 MB / 444.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.2412, allocations: 498.9 kB / 445.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003366/0.2446, allocations: 2.557 MB / 447.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.246, allocations: 0.9502 MB / 448.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.2471, allocations: 0.751 MB / 449.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.2489, allocations: 1.211 MB / 450.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.2491, allocations: 136 kB / 450.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.2506, allocations: 0.8891 MB / 451.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.2515, allocations: 1.012 MB / 452.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.2526, allocations: 1.176 MB / 453.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.2566, allocations: 3.942 MB / 457.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2566, allocations: 4 kB / 457.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2566, allocations: 0 / 457.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.2566, allocations: 0 / 457.7 MB, free: 13.64 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.004846/0.2615, allocations: 2.936 MB / 460.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2615, allocations: 12.03 kB / 460.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006194/0.2677, allocations: 1.649 MB / 462.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.2706, allocations: 1.309 MB / 463.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.2707, allocations: 114.9 kB / 463.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.271, allocations: 163.8 kB / 463.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009421/0.2804, allocations: 6.363 MB / 470.2 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.685e-05/0.2805, allocations: 31.75 kB / 470.3 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.2807, allocations: 75.89 kB / 470.3 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002651/0.2834, allocations: 1.445 MB / 471.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009842/0.2932, allocations: 5.666 MB / 477.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/0.3235, allocations: 26.26 MB / 0.4919 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.328, allocations: 2.188 MB / 0.494 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.3293, allocations: 0.9392 MB / 0.4949 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.3294, allocations: 11.98 kB / 0.495 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3294, allocations: 50.48 kB / 0.495 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.186e-06/0.3294, allocations: 0 / 0.495 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02142/0.3508, allocations: 8.712 MB / 0.5035 GB, free: 1.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.3509, allocations: 144.4 kB / 0.5037 GB, free: 1.785 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.3547, allocations: 2.812 MB / 0.5064 GB, free: 14.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/0.3548, allocations: 37.7 kB / 0.5064 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.3564, allocations: 2.159 MB / 0.5085 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/0.3568, allocations: 456.6 kB / 0.509 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.3579, allocations: 0.8933 MB / 0.5098 GB, free: 11.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.358, allocations: 305.1 kB / 0.5101 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.3602, allocations: 1.414 MB / 0.5115 GB, free: 9.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004464/0.3647, allocations: 4.25 MB / 0.5157 GB, free: 3.977 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/0.3718, allocations: 6.132 MB / 0.5217 GB, free: 12.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.594e-05/0.3719, allocations: 32 kB / 0.5217 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01036/0.3822, allocations: 6.112 MB / 0.5277 GB, free: 6.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.3823, allocations: 48 kB / 0.5277 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.93e-05/0.3824, allocations: 104 kB / 0.5278 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/0.3846, allocations: 0.7974 MB / 0.5286 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.3873, allocations: 0.9864 MB / 0.5295 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.3935, allocations: 4.468 MB / 0.5339 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.396, allocations: 251.7 kB / 0.5341 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.3963, allocations: 276.4 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.001852/0.3982, allocations: 1.368 MB / 0.5357 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.3985, allocations: 242.4 kB / 0.536 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.4025, allocations: 1.841 MB / 0.5378 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4025, allocations: 7.922 kB / 0.5378 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.4025, allocations: 7.938 kB / 0.5378 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.403, allocations: 311.2 kB / 0.5381 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.4032, allocations: 15.94 kB / 0.5381 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008555/0.4041, allocations: 67.89 kB / 0.5382 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4042, allocations: 56.34 kB / 0.5382 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004559/0.4088, allocations: 2.413 MB / 0.5406 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003807/0.4126, allocations: 3.03 MB / 0.5435 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009343/0.4135, allocations: 0.6602 MB / 0.5442 GB, free: 5.141 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.4161, allocations: 1.746 MB / 0.5459 GB, free: 3.387 MB / 462.1 MB Notification: Performance of Backend: time 2.11e-07/0.4161, allocations: 0 / 0.5459 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005716/0.4218, allocations: 2.872 MB / 0.5487 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of SimCode: time 0.1751/0.5969, allocations: 5.906 MB / 0.5545 GB, free: 116.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04201/0.6389, allocations: 30.21 MB / 0.584 GB, free: 92.86 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 -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.572666225023568]