Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 99.53 kB / 20.97 MB, free: 3.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 168.8 kB / 24.28 MB, free: 132 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 177 MB / 204.5 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.006e-05, allocations: 5.125 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01065/0.01068, allocations: 6.899 MB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.01773, allocations: 3.099 MB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008461/0.01858, allocations: 39.81 kB / 282.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.02071, allocations: 0.8287 MB / 283.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.02433, allocations: 1.365 MB / 284.4 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.02568, allocations: 0.5377 MB / 285 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.03023, allocations: 2.905 MB / 287.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.03266, allocations: 1.383 MB / 289.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1214/0.154, allocations: 1.18 MB / 290.5 MB, free: 16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.1564, allocations: 1.298 MB / 291.7 MB, free: 16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.1568, allocations: 138 kB / 291.9 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.1583, allocations: 0.8085 MB / 292.7 MB, free: 16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000929/0.1593, allocations: 1.057 MB / 293.7 MB, free: 16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008117/0.1601, allocations: 0.6332 MB / 294.4 MB, free: 16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004517/0.1646, allocations: 3.947 MB / 298.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1646, allocations: 0.7188 kB / 298.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1646, allocations: 0 / 298.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.111e-05/0.1647, allocations: 1.094 kB / 298.3 MB, free: 15.6 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.006321/0.171, allocations: 3.42 MB / 301.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1711, allocations: 14.83 kB / 301.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006385/0.1774, allocations: 1.986 MB / 303.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.1801, allocations: 1.15 MB / 304.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.1801, allocations: 116 kB / 305 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.1804, allocations: 163.1 kB / 305.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005523/0.1859, allocations: 4.135 MB / 309.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/0.186, allocations: 26.75 kB / 309.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.1862, allocations: 82.19 kB / 309.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/0.1883, allocations: 1.436 MB / 310.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005384/0.1937, allocations: 2.385 MB / 313.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0365/0.2302, allocations: 32.4 MB / 345.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.2337, allocations: 0.9687 MB / 346.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.2344, allocations: 348.8 kB / 346.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.2345, allocations: 15.94 kB / 347 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.2345, allocations: 52.58 kB / 347 MB, free: 5.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 2.835e-06/0.2345, allocations: 0 / 347 MB, free: 5.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.02063/0.2552, allocations: 6.265 MB / 353.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.2553, allocations: 140.5 kB / 353.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/0.2606, allocations: 3.101 MB / 356.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.2609, allocations: 37.7 kB / 356.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.2633, allocations: 2.427 MB / 359 MB, free: 8.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007857/0.2641, allocations: 492.5 kB / 359.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.2659, allocations: 1.107 MB / 360.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003789/0.2663, allocations: 0.5511 MB / 361.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.2676, allocations: 0.4965 MB / 361.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/0.2736, allocations: 4.836 MB / 366.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008857/0.2825, allocations: 5.853 MB / 372.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.2826, allocations: 28 kB / 372.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01151/0.2941, allocations: 4.352 MB / 376.7 MB, free: 3.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/0.2942, allocations: 48 kB / 376.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.2943, allocations: 100 kB / 376.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.2966, allocations: 0.5628 MB / 377.4 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.3, allocations: 0.9981 MB / 378.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005505/0.3055, allocations: 3.073 MB / 381.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.3089, allocations: 279.6 kB / 381.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007029/0.3097, allocations: 280 kB / 382 MB, free: 13.96 MB / 346.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.001452/0.3111, allocations: 0.5845 MB / 382.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/0.3117, allocations: 250.5 kB / 382.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.3152, allocations: 1.105 MB / 383.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.3152, allocations: 12 kB / 384 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3152, allocations: 4 kB / 384 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3152, allocations: 3.984 kB / 384 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.3255, allocations: 3.949 MB / 387.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.3255, allocations: 0 / 387.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.3262, allocations: 139.7 kB / 388.1 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.3282, allocations: 431.6 kB / 388.5 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.3284, allocations: 16 kB / 388.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004232/0.3326, allocations: 2.535 MB / 391 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3326, allocations: 4 kB / 391 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.3377, allocations: 2.095 MB / 393.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.3388, allocations: 214.5 kB / 393.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/0.3391, allocations: 19.98 kB / 393.4 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.3402, allocations: 94.44 kB / 393.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.3404, allocations: 55.89 kB / 393.5 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.3405, allocations: 28 kB / 393.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002747/0.3433, allocations: 1.242 MB / 394.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3433, allocations: 0 / 394.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004684/0.3479, allocations: 0.707 MB / 395.5 MB, free: 244 kB / 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.0005397/0.3485, allocations: 167.1 kB / 395.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005471/0.3539, allocations: 2.398 MB / 398 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.354, allocations: 0 / 398 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.355, allocations: 0.5732 MB / 398.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.3568, allocations: 238.6 kB / 398.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3668, allocations: 4.447 MB / 403.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.3692, allocations: 1.453 MB / 404.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003061/0.3723, allocations: 1.187 MB / 405.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.3728, allocations: 156.5 kB / 406.1 MB, free: 5.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3728, allocations: 0 / 406.1 MB, free: 5.5 MB / 362.7 MB Notification: Performance of Templates: time 0.04745/0.4202, allocations: 19.64 MB / 425.7 MB, free: 2.207 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.910906258970499]