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.001361/0.001361, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.00158/0.00158, allocations: 173.9 kB / 25.33 MB, free: 9.461 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.921/0.921, allocations: 158.6 MB / 187.2 MB, free: 2.547 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.663e-06/1.663e-06, allocations: 0 / 251 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.294e-05, allocations: 2.312 kB / 251 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01055/0.01057, allocations: 6.994 MB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.01524, allocations: 3.112 MB / 261.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.01589, allocations: 31.88 kB / 261.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01718, allocations: 0.8443 MB / 262 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.01931, allocations: 1.389 MB / 263.4 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.02018, allocations: 0.5415 MB / 264 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002671/0.02285, allocations: 2.865 MB / 266.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.02495, allocations: 1.395 MB / 268.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.02647, allocations: 1.208 MB / 269.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.02793, allocations: 1.305 MB / 270.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.02824, allocations: 136 kB / 270.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.02947, allocations: 0.8227 MB / 271.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.03015, allocations: 1.079 MB / 272.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.03067, allocations: 0.6461 MB / 273.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.03337, allocations: 2.79 MB / 276.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.03338, allocations: 0 / 276.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.03338, allocations: 3.938 kB / 276.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.03341, allocations: 0 / 276.2 MB, free: 10.31 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.003466/0.03688, allocations: 3.202 MB / 279.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.03694, allocations: 11.98 kB / 279.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.04053, allocations: 1.98 MB / 281.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.04242, allocations: 1.183 MB / 282.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.0425, allocations: 115.2 kB / 282.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.04272, allocations: 159.8 kB / 282.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.04668, allocations: 3.892 MB / 286.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.204e-05/0.04673, allocations: 31.73 kB / 286.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.04689, allocations: 79.89 kB / 286.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001377/0.04826, allocations: 1.433 MB / 288.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.05188, allocations: 2.122 MB / 290.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.134/0.1859, allocations: 30.44 MB / 320.8 MB, free: 24.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.188, allocations: 0.9002 MB / 321.7 MB, free: 23.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.1885, allocations: 330.7 kB / 322.1 MB, free: 23.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.1885, allocations: 19.12 kB / 322.1 MB, free: 23.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1885, allocations: 54.45 kB / 322.1 MB, free: 23.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 3.016e-06/0.1885, allocations: 0 / 322.1 MB, free: 23.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=106): time 0.0107/0.1992, allocations: 6.203 MB / 328.3 MB, free: 22.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1993, allocations: 143 kB / 328.5 MB, free: 21.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.2013, allocations: 2.493 MB / 331 MB, free: 21.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.2013, allocations: 39.55 kB / 331 MB, free: 21.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007335/0.202, allocations: 2.298 MB / 333.3 MB, free: 19.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.2023, allocations: 472.7 kB / 333.8 MB, free: 19.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000691/0.203, allocations: 0.9555 MB / 334.7 MB, free: 18.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.203, allocations: 0.5335 MB / 335.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.2037, allocations: 453.6 kB / 335.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.2053, allocations: 4.648 MB / 340.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.2083, allocations: 5.639 MB / 346 MB, free: 6.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.269e-05/0.2083, allocations: 27.31 kB / 346 MB, free: 6.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.004537/0.2129, allocations: 4.244 MB / 350.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2129, allocations: 48.22 kB / 350.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-05/0.213, allocations: 104 kB / 350.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.214, allocations: 0.5632 MB / 351 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.2154, allocations: 0.9902 MB / 352 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.2178, allocations: 2.99 MB / 355 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.2194, allocations: 295.5 kB / 355.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.2196, allocations: 276 kB / 355.5 MB, free: 13.82 MB / 298.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.0007885/0.2204, allocations: 0.5105 MB / 356 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.2207, allocations: 242.5 kB / 356.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.2224, allocations: 1.086 MB / 357.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.2225, allocations: 16 kB / 357.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2225, allocations: 0 / 357.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2225, allocations: 11.92 kB / 357.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.2277, allocations: 3.398 MB / 360.8 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2277, allocations: 4 kB / 360.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.228, allocations: 135.5 kB / 360.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009979/0.229, allocations: 426.8 kB / 361.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.2291, allocations: 22.66 kB / 361.4 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.2315, allocations: 2.46 MB / 363.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2315, allocations: 0 / 363.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.234, allocations: 2.018 MB / 365.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005534/0.2346, allocations: 334.3 kB / 366.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.2347, allocations: 16 kB / 366.2 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.2352, allocations: 107.6 kB / 366.3 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2354, allocations: 55.83 kB / 366.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.2354, allocations: 32 kB / 366.4 MB, free: 2.754 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.2366, allocations: 1.055 MB / 367.4 MB, free: 1.684 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2366, allocations: 4.031 kB / 367.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002575/0.2392, allocations: 0.7368 MB / 368.2 MB, free: 0.9453 MB / 298.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.0003186/0.2395, allocations: 161.6 kB / 368.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.2424, allocations: 2.184 MB / 370.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2424, allocations: 0 / 370.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.2429, allocations: 0.5355 MB / 371 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.2441, allocations: 232.5 kB / 371.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.2499, allocations: 4.413 MB / 375.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.2506, allocations: 0.7375 MB / 376.4 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001654/0.2522, allocations: 1.199 MB / 377.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.2525, allocations: 156.5 kB / 377.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2525, allocations: 0 / 377.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of Templates: time 0.02849/0.281, allocations: 19.98 MB / 397.7 MB, free: 3.293 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.777998493053019]