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.001497/0.001497, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001501/0.001501, allocations: 145.5 kB / 24.25 MB, free: 188 kB / 18.57 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.454/1.454, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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 1.854e-06/1.854e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.913e-05, allocations: 2.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009918/0.009947, allocations: 6.362 MB / 273.7 MB, free: 304 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006859/0.01681, allocations: 2.978 MB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.01769, allocations: 39.81 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.01983, allocations: 0.817 MB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003754/0.02359, allocations: 1.4 MB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.02495, allocations: 0.5377 MB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.02904, allocations: 2.854 MB / 282.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.03149, allocations: 1.383 MB / 283.7 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.03401, allocations: 1.2 MB / 284.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.03638, allocations: 1.298 MB / 286.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004752/0.03685, allocations: 136 kB / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.03873, allocations: 0.8266 MB / 287.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.04006, allocations: 1.067 MB / 288.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.04132, allocations: 0.6423 MB / 288.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1233/0.1646, allocations: 3.991 MB / 292.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1646, allocations: 1.094 kB / 292.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1646, allocations: 0 / 292.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.1648, allocations: 2.125 kB / 292.9 MB, free: 19.84 MB / 266.7 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.008742/0.1735, allocations: 2.901 MB / 295.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.1736, allocations: 11.67 kB / 295.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/0.1809, allocations: 2.058 MB / 297.8 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.1843, allocations: 1.255 MB / 299.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1844, allocations: 120.2 kB / 299.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005503/0.1849, allocations: 155.7 kB / 299.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009056/0.194, allocations: 6.381 MB / 305.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.986e-05/0.1941, allocations: 29.66 kB / 305.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.1943, allocations: 80.52 kB / 305.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002023/0.1963, allocations: 1.438 MB / 307.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008054/0.2044, allocations: 5.672 MB / 313 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/0.2362, allocations: 24.91 MB / 337.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/0.2412, allocations: 1.779 MB / 339.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.2428, allocations: 0.9371 MB / 340.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.2428, allocations: 19.94 kB / 340.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.2429, allocations: 52.36 kB / 340.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 5.29e-06/0.2429, allocations: 2.859 kB / 340.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.02433/0.2672, allocations: 8.793 MB / 349.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.2674, allocations: 148.2 kB / 349.6 MB, free: 6.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004591/0.2719, allocations: 2.714 MB / 352.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003176/0.2723, allocations: 37.7 kB / 352.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/0.2743, allocations: 2.159 MB / 354.5 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/0.275, allocations: 446 kB / 354.9 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.2764, allocations: 0.8801 MB / 355.8 MB, free: 444 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.2766, allocations: 357.9 kB / 356.2 MB, free: 80 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.2792, allocations: 1.422 MB / 357.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005415/0.2846, allocations: 4.253 MB / 361.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008947/0.2935, allocations: 6.158 MB / 368 MB, free: 1.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.735e-05/0.2936, allocations: 28 kB / 368 MB, free: 1.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01559/0.3092, allocations: 6.344 MB / 374.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.3094, allocations: 48 kB / 374.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002236/0.3096, allocations: 100 kB / 374.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.3123, allocations: 0.8069 MB / 375.3 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003793/0.3161, allocations: 1.002 MB / 376.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/0.3238, allocations: 4.326 MB / 380.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/0.3281, allocations: 303.1 kB / 380.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.3291, allocations: 276 kB / 381.2 MB, free: 4.234 MB / 330.7 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.003868/0.333, allocations: 1.37 MB / 382.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008931/0.3339, allocations: 246.5 kB / 382.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/0.3388, allocations: 1.824 MB / 384.7 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/0.3388, allocations: 12 kB / 384.7 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.3388, allocations: 4 kB / 384.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.3388, allocations: 3.984 kB / 384.7 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.3509, allocations: 4.185 MB / 388.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.3509, allocations: 7.938 kB / 388.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.3516, allocations: 127.9 kB / 389 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.354, allocations: 0.6625 MB / 389.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.3541, allocations: 16 kB / 389.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.3605, allocations: 3.83 MB / 393.5 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.3605, allocations: 8.016 kB / 393.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007591/0.3681, allocations: 3.687 MB / 397.2 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/0.3689, allocations: 218.4 kB / 397.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/0.3694, allocations: 12 kB / 397.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.3708, allocations: 103 kB / 397.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.371, allocations: 55.89 kB / 397.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/0.3711, allocations: 34.8 kB / 397.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003937/0.3751, allocations: 1.566 MB / 399.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3751, allocations: 0 / 399.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004465/0.3795, allocations: 0.7264 MB / 399.9 MB, free: 1.348 MB / 346.7 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.0005579/0.3801, allocations: 171 kB / 400.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.3871, allocations: 3.321 MB / 403.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3871, allocations: 0.9375 kB / 403.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.3886, allocations: 0.8739 MB / 404.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.3905, allocations: 248 kB / 404.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.4021, allocations: 5.556 MB / 410.1 MB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.4045, allocations: 1.62 MB / 411.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003232/0.4078, allocations: 1.371 MB / 413 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.4082, allocations: 152.5 kB / 413.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4082, allocations: 0 / 413.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of Templates: time 0.04516/0.4534, allocations: 19.73 MB / 432.9 MB, free: 0.5859 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.667710655019619]