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.001293/0.001293, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001388/0.001388, allocations: 164.6 kB / 23.95 MB, free: 4.168 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.427/1.427, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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 1.272e-06/1.272e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.181e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008163/0.008184, allocations: 6.34 MB / 331.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006415/0.0146, allocations: 3.014 MB / 334.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.01584, allocations: 35.62 kB / 334.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.01798, allocations: 0.8137 MB / 335.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.02176, allocations: 1.365 MB / 336.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.02307, allocations: 0.522 MB / 337.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003945/0.02701, allocations: 2.908 MB / 340.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.02876, allocations: 1.328 MB / 341.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.03052, allocations: 1.188 MB / 342.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.03239, allocations: 1.298 MB / 343.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.03266, allocations: 136 kB / 344 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.03416, allocations: 0.811 MB / 344.8 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.03515, allocations: 1.052 MB / 345.9 MB, free: 312 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000815/0.03597, allocations: 0.6266 MB / 346.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.0403, allocations: 3.94 MB / 350.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.0403, allocations: 3.938 kB / 350.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0403, allocations: 4 kB / 350.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.04034, allocations: 0 / 350.4 MB, free: 11.71 MB / 318.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.005172/0.04551, allocations: 2.888 MB / 353.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.04555, allocations: 12.02 kB / 353.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00663/0.05218, allocations: 1.731 MB / 355.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.05449, allocations: 1.239 MB / 356.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.05461, allocations: 119.2 kB / 356.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.05494, allocations: 155.8 kB / 356.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009602/0.06455, allocations: 6.37 MB / 363 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/0.06461, allocations: 35.73 kB / 363 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.06486, allocations: 83.88 kB / 363.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002673/0.06753, allocations: 1.433 MB / 364.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.0777, allocations: 5.673 MB / 370.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03157/0.1093, allocations: 24.86 MB / 395 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.1138, allocations: 1.792 MB / 396.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.1152, allocations: 0.9365 MB / 397.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.1153, allocations: 15.92 kB / 397.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.1153, allocations: 46.56 kB / 397.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.366e-06/0.1153, allocations: 0 / 397.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02288/0.1382, allocations: 8.774 MB / 406.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.1383, allocations: 140.5 kB / 406.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.142, allocations: 2.712 MB / 409.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.1421, allocations: 37.7 kB / 409.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.1438, allocations: 2.155 MB / 411.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.1443, allocations: 448.6 kB / 412.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.1455, allocations: 0.8777 MB / 413 MB, free: 11.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1456, allocations: 357.9 kB / 413.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.148, allocations: 1.422 MB / 414.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0048/0.1528, allocations: 4.25 MB / 419 MB, free: 4.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.161, allocations: 6.146 MB / 425.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.694e-05/0.1611, allocations: 28 kB / 425.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01211/0.1732, allocations: 6.099 MB / 431.3 MB, free: 6.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.1733, allocations: 56 kB / 431.3 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.1734, allocations: 100 kB / 431.4 MB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.176, allocations: 0.7938 MB / 432.2 MB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003188/0.1792, allocations: 0.998 MB / 433.2 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.1857, allocations: 4.33 MB / 437.5 MB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/0.1891, allocations: 299.5 kB / 437.8 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/0.1898, allocations: 276 kB / 438.1 MB, free: 15.43 MB / 414.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.002337/0.1921, allocations: 1.376 MB / 439.5 MB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/0.1926, allocations: 214.5 kB / 439.7 MB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.1966, allocations: 1.817 MB / 441.5 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.1966, allocations: 12 kB / 441.5 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.1966, allocations: 4 kB / 441.5 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.1966, allocations: 4.359 kB / 441.5 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/0.2054, allocations: 4.207 MB / 445.7 MB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.2054, allocations: 8 kB / 445.7 MB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.206, allocations: 135.8 kB / 445.9 MB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.2082, allocations: 0.6522 MB / 446.5 MB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.2083, allocations: 12 kB / 446.5 MB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/0.2138, allocations: 3.815 MB / 450.3 MB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2138, allocations: 64 / 450.3 MB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006401/0.2202, allocations: 3.665 MB / 454 MB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.2207, allocations: 222.4 kB / 454.2 MB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.2209, allocations: 15.98 kB / 454.2 MB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.222, allocations: 103.8 kB / 454.3 MB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.2222, allocations: 55.89 kB / 454.4 MB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/0.2223, allocations: 28 kB / 454.4 MB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002608/0.2249, allocations: 1.562 MB / 456 MB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2249, allocations: 4.062 kB / 456 MB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003427/0.2283, allocations: 0.707 MB / 456.7 MB, free: 12.58 MB / 430.1 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.00042/0.2288, allocations: 169.5 kB / 456.9 MB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005869/0.2346, allocations: 3.307 MB / 460.2 MB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.2346, allocations: 0 / 460.2 MB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.236, allocations: 0.8657 MB / 461 MB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.2376, allocations: 220 kB / 461.2 MB, free: 8.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/0.2469, allocations: 5.466 MB / 466.7 MB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/0.2491, allocations: 1.612 MB / 468.3 MB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.1496/0.3987, allocations: 1.365 MB / 469.7 MB, free: 125.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/0.3994, allocations: 153.4 kB / 469.8 MB, free: 125.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3994, allocations: 1.156 kB / 469.8 MB, free: 125.1 MB / 430.1 MB Notification: Performance of Templates: time 0.03692/0.4363, allocations: 19.47 MB / 489.3 MB, free: 119.4 MB / 430.1 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/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.5083741545677185]