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.001796/0.001796, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.002051/0.002051, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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 1.39/1.39, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.552e-06/1.552e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.704e-05, allocations: 6.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01015/0.01018, allocations: 6.367 MB / 305.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.01743, allocations: 2.983 MB / 308.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.01848, allocations: 31.88 kB / 308.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.02036, allocations: 0.813 MB / 309.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.02342, allocations: 1.389 MB / 310.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.02463, allocations: 0.5299 MB / 311.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003501/0.02813, allocations: 2.866 MB / 313.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.02989, allocations: 1.355 MB / 315.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.03176, allocations: 1.204 MB / 316.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.03397, allocations: 1.301 MB / 317.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.03431, allocations: 140 kB / 317.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.03611, allocations: 0.8188 MB / 318.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.03721, allocations: 1.075 MB / 319.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008647/0.03807, allocations: 0.6462 MB / 320.5 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1597/0.1977, allocations: 3.981 MB / 324.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1977, allocations: 0 / 324.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1977, allocations: 0 / 324.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001066/0.1978, allocations: 1.406 kB / 324.5 MB, free: 19.74 MB / 302.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.005017/0.2029, allocations: 2.917 MB / 327.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2029, allocations: 13.3 kB / 327.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/0.2098, allocations: 1.735 MB / 329.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.2122, allocations: 1.301 MB / 330.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.2123, allocations: 118.3 kB / 330.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.2127, allocations: 151.3 kB / 330.7 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009432/0.2221, allocations: 6.37 MB / 337.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/0.2222, allocations: 34.52 kB / 337.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.2224, allocations: 84.48 kB / 337.2 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002565/0.225, allocations: 1.433 MB / 338.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009107/0.2341, allocations: 5.677 MB / 344.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.2588, allocations: 24.89 MB / 369.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.2631, allocations: 1.78 MB / 370.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.2644, allocations: 0.941 MB / 371.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.2645, allocations: 11.94 kB / 371.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2645, allocations: 49.78 kB / 371.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.758e-06/0.2645, allocations: 3.281 kB / 372 MB, free: 3.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.02323/0.2878, allocations: 8.79 MB / 380.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.2879, allocations: 142.5 kB / 380.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/0.2917, allocations: 2.766 MB / 383.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.2919, allocations: 39.34 kB / 383.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.2936, allocations: 2.159 MB / 385.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/0.2942, allocations: 454.3 kB / 386.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.2955, allocations: 0.8765 MB / 387.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.2957, allocations: 353.9 kB / 387.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.298, allocations: 1.423 MB / 388.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/0.3028, allocations: 4.255 MB / 393.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007593/0.3104, allocations: 6.156 MB / 399.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.323e-05/0.3104, allocations: 28 kB / 399.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01217/0.3226, allocations: 6.102 MB / 405.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-05/0.3227, allocations: 54.56 kB / 405.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.3228, allocations: 104 kB / 405.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.3253, allocations: 0.785 MB / 406.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.3282, allocations: 1.005 MB / 407.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/0.3346, allocations: 4.317 MB / 411.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/0.3385, allocations: 303.5 kB / 412 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/0.3389, allocations: 276 kB / 412.3 MB, free: 8.652 MB / 366.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.002139/0.341, allocations: 1.38 MB / 413.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.3414, allocations: 214.5 kB / 413.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.3455, allocations: 1.821 MB / 415.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.3455, allocations: 13.5 kB / 415.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3456, allocations: 4 kB / 415.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3456, allocations: 3.984 kB / 415.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/0.3542, allocations: 4.202 MB / 419.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.3542, allocations: 4 kB / 419.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.3549, allocations: 139.7 kB / 420.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.3571, allocations: 0.6444 MB / 420.7 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.979e-05/0.3572, allocations: 16 kB / 420.7 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00561/0.3628, allocations: 3.829 MB / 424.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3628, allocations: 0 / 424.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/0.3695, allocations: 3.666 MB / 428.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.3708, allocations: 366.3 kB / 428.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/0.3713, allocations: 16 kB / 428.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.3728, allocations: 107.8 kB / 428.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.373, allocations: 53.23 kB / 428.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/0.3731, allocations: 31.98 kB / 428.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002708/0.3758, allocations: 1.593 MB / 430.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3758, allocations: 4.062 kB / 430.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00394/0.3798, allocations: 0.7359 MB / 431.1 MB, free: 5.617 MB / 382.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.0004711/0.3802, allocations: 171.8 kB / 431.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005974/0.3862, allocations: 3.311 MB / 434.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3862, allocations: 0 / 434.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.3876, allocations: 0.8647 MB / 435.5 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.3893, allocations: 226 kB / 435.7 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3994, allocations: 5.482 MB / 441.2 MB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/0.4015, allocations: 1.628 MB / 442.8 MB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003045/0.4045, allocations: 1.375 MB / 444.2 MB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.405, allocations: 156.5 kB / 444.3 MB, free: 8.309 MB / 398.1 MB Notification: Performance of SimCode: time 1.272e-06/0.405, allocations: 3.938 kB / 444.3 MB, free: 8.305 MB / 398.1 MB Notification: Performance of Templates: time 0.04589/0.4509, allocations: 19.79 MB / 464.1 MB, free: 4.551 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.676327679306269]