Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.92 kB / 379 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.22, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008505/0.2285, allocations: 6.325 MB / 438.7 MB, free: 404 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005743/0.2342, allocations: 2.995 MB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.2346, allocations: 35.88 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.2363, allocations: 0.7898 MB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.2389, allocations: 1.327 MB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.2398, allocations: 491 kB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002921/0.2428, allocations: 2.566 MB / 446.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.244, allocations: 1.086 MB / 447.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008207/0.2448, allocations: 0.7666 MB / 448.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.2463, allocations: 1.203 MB / 449.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.2465, allocations: 139.9 kB / 450.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.2478, allocations: 0.7683 MB / 450.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008874/0.2486, allocations: 1.005 MB / 451.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008257/0.2495, allocations: 0.8457 MB / 452.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.2534, allocations: 3.946 MB / 456.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2534, allocations: 0 / 456.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2534, allocations: 4 kB / 456.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.2535, allocations: 0 / 456.6 MB, free: 14.37 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.004771/0.2582, allocations: 2.867 MB / 459.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2583, allocations: 8.031 kB / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/0.2644, allocations: 1.66 MB / 461.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.2671, allocations: 1.251 MB / 462.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.2672, allocations: 118.9 kB / 462.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.2676, allocations: 155.8 kB / 462.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009163/0.2767, allocations: 6.367 MB / 469 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/0.2768, allocations: 35.69 kB / 469.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.2771, allocations: 79.89 kB / 469.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/0.2796, allocations: 1.433 MB / 470.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009914/0.2895, allocations: 5.665 MB / 476.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02872/0.3183, allocations: 24.76 MB / 0.4893 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/0.3225, allocations: 1.729 MB / 0.491 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.3238, allocations: 0.9403 MB / 0.4919 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.3238, allocations: 8 kB / 0.4919 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3239, allocations: 54.48 kB / 0.4919 GB, free: 13.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.287e-06/0.3239, allocations: 0 / 0.4919 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02139/0.3453, allocations: 8.496 MB / 0.5002 GB, free: 5.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.3454, allocations: 140.5 kB / 0.5004 GB, free: 5.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.3488, allocations: 2.63 MB / 0.5029 GB, free: 2.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.3489, allocations: 41.7 kB / 0.503 GB, free: 2.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.3505, allocations: 2.186 MB / 0.5051 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.3509, allocations: 460.8 kB / 0.5055 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.3521, allocations: 0.8933 MB / 0.5064 GB, free: 14.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3522, allocations: 349.9 kB / 0.5068 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.3544, allocations: 1.418 MB / 0.5081 GB, free: 12.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004471/0.3589, allocations: 4.242 MB / 0.5123 GB, free: 7.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007269/0.3662, allocations: 6.139 MB / 0.5183 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.885e-05/0.3662, allocations: 31.94 kB / 0.5183 GB, free: 15.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01067/0.3769, allocations: 6.073 MB / 0.5242 GB, free: 9.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.377, allocations: 48.94 kB / 0.5243 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.89e-05/0.3771, allocations: 104 kB / 0.5244 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.3795, allocations: 0.8006 MB / 0.5252 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.3824, allocations: 0.9942 MB / 0.5261 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/0.3886, allocations: 4.298 MB / 0.5303 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.391, allocations: 259.6 kB / 0.5306 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/0.3914, allocations: 276.4 kB / 0.5308 GB, free: 2.766 MB / 446.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.001835/0.3932, allocations: 1.368 MB / 0.5322 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.3935, allocations: 218.5 kB / 0.5324 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.3976, allocations: 1.819 MB / 0.5342 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3976, allocations: 7.922 kB / 0.5342 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3976, allocations: 0 / 0.5342 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.3979, allocations: 198.3 kB / 0.5344 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.3982, allocations: 16 kB / 0.5344 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/0.399, allocations: 63.91 kB / 0.5344 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.3992, allocations: 68.23 kB / 0.5345 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004551/0.4037, allocations: 2.397 MB / 0.5368 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003852/0.4076, allocations: 3.004 MB / 0.5398 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000955/0.4085, allocations: 0.6631 MB / 0.5404 GB, free: 8.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002158/0.4107, allocations: 1.503 MB / 0.5419 GB, free: 7.367 MB / 462.1 MB Notification: Performance of Backend: time 4.11e-07/0.4107, allocations: 0 / 0.5419 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0056/0.4163, allocations: 2.86 MB / 0.5447 GB, free: 4.516 MB / 462.1 MB Notification: Performance of SimCode: time 0.174/0.5902, allocations: 5.815 MB / 0.5504 GB, free: 116.1 MB / 462.1 MB Notification: Performance of Templates: time 0.04164/0.6319, allocations: 31.13 MB / 0.5808 GB, free: 94.14 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.660256034003396]