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.0009755/0.0009755, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0009318/0.0009318, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9479/0.9479, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.436e-05, allocations: 9.828 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006141/0.006165, allocations: 6.953 MB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.01093, allocations: 3.115 MB / 283.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.01146, allocations: 39.81 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.01267, allocations: 0.8287 MB / 283.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.01463, allocations: 1.377 MB / 285.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.01538, allocations: 0.5299 MB / 285.8 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.01783, allocations: 2.917 MB / 288.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.01923, allocations: 1.372 MB / 290.1 MB, free: 176 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1119/0.1311, allocations: 1.215 MB / 291.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.1334, allocations: 1.28 MB / 292.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005583/0.134, allocations: 138.5 kB / 292.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.1354, allocations: 0.8062 MB / 293.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008188/0.1362, allocations: 1.05 MB / 294.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000882/0.1371, allocations: 0.6333 MB / 295.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.1402, allocations: 2.734 MB / 298 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1402, allocations: 3.406 kB / 298 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1402, allocations: 0 / 298 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001139/0.1403, allocations: 0 / 298 MB, free: 15.35 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.005968/0.1463, allocations: 3.183 MB / 301.2 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1464, allocations: 9.625 kB / 301.2 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.1515, allocations: 1.984 MB / 303.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.1534, allocations: 1.186 MB / 304.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.1535, allocations: 113.9 kB / 304.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.1538, allocations: 155.7 kB / 304.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005139/0.1589, allocations: 3.877 MB / 308.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.159, allocations: 25.38 kB / 308.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.1592, allocations: 82.27 kB / 308.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/0.1609, allocations: 1.379 MB / 310 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.1646, allocations: 2.005 MB / 312 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.1817, allocations: 30.61 MB / 342.6 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.1834, allocations: 0.8071 MB / 343.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.1837, allocations: 244.5 kB / 343.6 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002456/0.1861, allocations: 2.172 MB / 345.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1861, allocations: 44.48 kB / 345.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 1.984e-06/0.1861, allocations: 0 / 345.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.004959/0.1911, allocations: 3.645 MB / 349.5 MB, free: 2.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1912, allocations: 139 kB / 349.6 MB, free: 2.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.1934, allocations: 2.562 MB / 352.2 MB, free: 40 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.1935, allocations: 35.5 kB / 352.2 MB, free: 0 / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.1945, allocations: 2.364 MB / 354.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.1947, allocations: 360.6 kB / 354.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007774/0.1955, allocations: 0.9486 MB / 355.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1957, allocations: 0.5316 MB / 356.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.1962, allocations: 396.3 kB / 356.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.1985, allocations: 4.745 MB / 361.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/0.202, allocations: 5.668 MB / 367.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-05/0.2021, allocations: 32 kB / 367.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.00407/0.2061, allocations: 3.704 MB / 371 MB, free: 9.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.2062, allocations: 55.97 kB / 371 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.285e-05/0.2063, allocations: 108.9 kB / 371.1 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.2066, allocations: 184.4 kB / 371.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.209, allocations: 0.9864 MB / 372.3 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.2106, allocations: 2.022 MB / 374.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.2131, allocations: 275.6 kB / 374.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/0.2134, allocations: 274.7 kB / 374.8 MB, free: 5.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (536): * Single equations (assignments): 532 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.2145, allocations: 0.5195 MB / 375.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.2148, allocations: 222.6 kB / 375.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/0.2155, allocations: 392.6 kB / 376 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.2155, allocations: 12.14 kB / 376 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2155, allocations: 0 / 376 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.2155, allocations: 7.969 kB / 376 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.2185, allocations: 2.281 MB / 378.3 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2185, allocations: 4 kB / 378.3 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.2188, allocations: 95.86 kB / 378.4 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.2189, allocations: 43.64 kB / 378.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.2189, allocations: 14.34 kB / 378.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009466/0.2199, allocations: 1.822 MB / 380.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2199, allocations: 0 / 380.2 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.221, allocations: 1.282 MB / 381.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.2212, allocations: 202.4 kB / 381.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.2213, allocations: 15.12 kB / 381.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.2217, allocations: 63.89 kB / 381.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.2218, allocations: 47.88 kB / 381.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.2218, allocations: 24 kB / 381.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001164/0.223, allocations: 1.064 MB / 382.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.223, allocations: 0 / 382.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001954/0.2249, allocations: 0.6131 MB / 383.5 MB, free: 12.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (51): * Single equations (assignments): 47 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.2252, allocations: 158.6 kB / 383.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.2274, allocations: 1.969 MB / 385.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2274, allocations: 0.625 kB / 385.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.2277, allocations: 393.5 kB / 386.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.2285, allocations: 217.4 kB / 386.3 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.2336, allocations: 4.217 MB / 390.5 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.2343, allocations: 0.7158 MB / 391.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001537/0.2358, allocations: 1.175 MB / 392.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.236, allocations: 148.5 kB / 392.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.236, allocations: 4 kB / 392.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of Templates: time 0.02452/0.2605, allocations: 14.46 MB / 407 MB, free: 5.062 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3979437621310353]