Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001125/0.001125, allocations: 85.95 kB / 23 MB, free: 1.504 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.001241/0.001241, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8976/0.8976, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.785e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008288/0.008316, allocations: 6.812 MB / 259.1 MB, free: 408 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005638/0.01395, allocations: 3.061 MB / 262.1 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.01499, allocations: 35.88 kB / 262.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.01667, allocations: 0.8287 MB / 263 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.01992, allocations: 1.408 MB / 264.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.02096, allocations: 0.5377 MB / 264.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003598/0.02456, allocations: 2.873 MB / 267.8 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.0265, allocations: 1.387 MB / 269.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.02842, allocations: 1.243 MB / 270.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.03033, allocations: 1.286 MB / 271.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003929/0.03072, allocations: 140 kB / 271.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.03212, allocations: 0.815 MB / 272.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.03332, allocations: 1.079 MB / 273.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008557/0.03417, allocations: 0.6423 MB / 274.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.03778, allocations: 2.774 MB / 277.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.03778, allocations: 4 kB / 277.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.03779, allocations: 0 / 277.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.628e-05/0.03788, allocations: 0 / 277.2 MB, free: 14.22 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.00486/0.04274, allocations: 3.065 MB / 280.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.04279, allocations: 11.98 kB / 280.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/0.04673, allocations: 1.068 MB / 281.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.04857, allocations: 1.093 MB / 282.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.04866, allocations: 115.2 kB / 282.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.04893, allocations: 159.8 kB / 282.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/0.05349, allocations: 3.555 MB / 286.2 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.097e-05/0.05355, allocations: 27.75 kB / 286.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.05375, allocations: 87.89 kB / 286.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/0.05544, allocations: 1.199 MB / 287.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.05909, allocations: 1.598 MB / 289.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.08016, allocations: 29.66 MB / 318.8 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.08179, allocations: 0.7035 MB / 319.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.08207, allocations: 214.7 kB / 319.7 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002829/0.0849, allocations: 2.052 MB / 321.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.08493, allocations: 45.39 kB / 321.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.188e-06/0.08493, allocations: 0 / 321.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004964/0.0899, allocations: 1.916 MB / 323.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.08995, allocations: 136.5 kB / 323.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.09218, allocations: 2.566 MB / 326.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.09223, allocations: 37.7 kB / 326.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.09344, allocations: 2.39 MB / 328.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.09372, allocations: 357.6 kB / 329.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007621/0.09448, allocations: 0.9717 MB / 330.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005248/0.09501, allocations: 0.5315 MB / 330.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.09559, allocations: 356.3 kB / 331.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.09822, allocations: 4.733 MB / 335.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.1028, allocations: 5.588 MB / 341.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-05/0.1029, allocations: 32 kB / 341.4 MB, free: 7.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.004741/0.1077, allocations: 3.474 MB / 344.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.1077, allocations: 48 kB / 344.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.678e-05/0.1078, allocations: 111.9 kB / 345 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.1081, allocations: 183.6 kB / 345.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.1097, allocations: 0.9669 MB / 346.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1109, allocations: 1.979 MB / 348.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.1131, allocations: 203.8 kB / 348.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.1134, allocations: 240 kB / 348.6 MB, free: 460 kB / 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 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * 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.1263/0.2397, allocations: 0.5092 MB / 349.1 MB, free: 90.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/0.2403, allocations: 230.4 kB / 349.3 MB, free: 90.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008706/0.2412, allocations: 371.8 kB / 349.7 MB, free: 90.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.2412, allocations: 12.94 kB / 349.7 MB, free: 90.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.2412, allocations: 2.031 kB / 349.7 MB, free: 90.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2413, allocations: 5.656 kB / 349.7 MB, free: 90.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.2449, allocations: 2.263 MB / 352 MB, free: 90.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2449, allocations: 1.875 kB / 352 MB, free: 90.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.2451, allocations: 80.78 kB / 352.1 MB, free: 90.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.2452, allocations: 44.42 kB / 352.1 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.2453, allocations: 11.06 kB / 352.1 MB, free: 90.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006963/0.2459, allocations: 1.788 MB / 353.9 MB, free: 88.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.246, allocations: 2.312 kB / 353.9 MB, free: 88.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.2469, allocations: 1.22 MB / 355.1 MB, free: 88.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.2473, allocations: 262.1 kB / 355.4 MB, free: 88.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.2475, allocations: 13.62 kB / 355.4 MB, free: 88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.2479, allocations: 9.344 kB / 355.4 MB, free: 88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.248, allocations: 42.5 kB / 355.4 MB, free: 88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.248, allocations: 20.56 kB / 355.5 MB, free: 88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008685/0.2489, allocations: 1.014 MB / 356.5 MB, free: 87.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2489, allocations: 3.25 kB / 356.5 MB, free: 87.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002393/0.2513, allocations: 0.6275 MB / 357.1 MB, free: 87.82 MB / 330.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.0003294/0.2516, allocations: 171.3 kB / 357.3 MB, free: 87.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.2538, allocations: 1.865 MB / 359.1 MB, free: 87.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2538, allocations: 0 / 359.1 MB, free: 87.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.2541, allocations: 369.4 kB / 359.5 MB, free: 87.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000978/0.255, allocations: 229.9 kB / 359.7 MB, free: 87.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.2596, allocations: 4.239 MB / 364 MB, free: 85.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.2601, allocations: 0.7243 MB / 364.7 MB, free: 85.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007282/0.2609, allocations: 325.5 kB / 365 MB, free: 85.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.2612, allocations: 380.8 kB / 365.4 MB, free: 84.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2612, allocations: 0 / 365.4 MB, free: 84.66 MB / 330.7 MB Notification: Performance of Templates: time 0.02468/0.2859, allocations: 16.35 MB / 381.7 MB, free: 69.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.745982433203608]