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.001592/0.001592, allocations: 85.36 kB / 22 MB, free: 5.184 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.001801/0.001801, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.307/1.307, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2023, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008186/0.2105, allocations: 6.346 MB / 354.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.216, allocations: 2.991 MB / 357.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.2167, allocations: 35.88 kB / 357.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.2185, allocations: 0.7704 MB / 358.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.2214, allocations: 1.358 MB / 360 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2224, allocations: 0.4912 MB / 360.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003105/0.2255, allocations: 2.547 MB / 363.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2268, allocations: 1.094 MB / 364.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008754/0.2277, allocations: 0.7822 MB / 364.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.2292, allocations: 1.183 MB / 366.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.2294, allocations: 132 kB / 366.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2308, allocations: 0.776 MB / 367 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009058/0.2317, allocations: 1.036 MB / 368.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009128/0.2326, allocations: 0.8574 MB / 368.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.237, allocations: 3.982 MB / 372.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.237, allocations: 4 kB / 372.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.237, allocations: 4 kB / 372.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.649e-05/0.2371, allocations: 0 / 372.9 MB, free: 7.043 MB / 334.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.00499/0.2421, allocations: 2.888 MB / 375.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2421, allocations: 11.98 kB / 375.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006503/0.2486, allocations: 1.738 MB / 377.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.2515, allocations: 1.337 MB / 378.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2516, allocations: 126.8 kB / 379 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.2519, allocations: 155.8 kB / 379.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009414/0.2613, allocations: 6.367 MB / 385.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.2614, allocations: 31.75 kB / 385.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.2616, allocations: 79.89 kB / 385.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.2642, allocations: 1.437 MB / 387.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.2749, allocations: 5.669 MB / 392.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03024/0.3051, allocations: 24.85 MB / 417.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00439/0.3095, allocations: 1.776 MB / 419.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.311, allocations: 0.9404 MB / 420.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.311, allocations: 12 kB / 420.3 MB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.311, allocations: 42.5 kB / 420.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.466e-06/0.311, allocations: 0 / 420.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02232/0.3334, allocations: 8.725 MB / 429.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.3335, allocations: 144.4 kB / 429.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.3373, allocations: 2.65 MB / 431.9 MB, free: 10.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.3373, allocations: 37.7 kB / 431.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.339, allocations: 2.194 MB / 434.1 MB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004255/0.3394, allocations: 452.6 kB / 434.5 MB, free: 7.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.3405, allocations: 0.8894 MB / 435.4 MB, free: 6.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3407, allocations: 353.9 kB / 435.8 MB, free: 6.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.343, allocations: 1.422 MB / 437.2 MB, free: 5.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004815/0.3478, allocations: 4.261 MB / 441.5 MB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007639/0.3555, allocations: 6.139 MB / 447.6 MB, free: 7.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.965e-05/0.3555, allocations: 28 kB / 447.6 MB, free: 7.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01126/0.3668, allocations: 6.112 MB / 453.7 MB, free: 1.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.3669, allocations: 48 kB / 453.8 MB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.367, allocations: 100.1 kB / 453.9 MB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.3693, allocations: 0.793 MB / 454.7 MB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.3722, allocations: 1.01 MB / 455.7 MB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/0.3784, allocations: 4.3 MB / 460 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.3812, allocations: 275.5 kB / 460.3 MB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.3816, allocations: 280 kB / 460.5 MB, free: 10.76 MB / 430.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.001884/0.3835, allocations: 1.376 MB / 461.9 MB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.3838, allocations: 214.5 kB / 462.1 MB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.3878, allocations: 1.825 MB / 463.9 MB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.3878, allocations: 12 kB / 464 MB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3878, allocations: 8 kB / 464 MB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.3879, allocations: 11.91 kB / 464 MB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008121/0.396, allocations: 4.143 MB / 468.1 MB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.396, allocations: 7.938 kB / 468.1 MB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.3966, allocations: 131.8 kB / 468.3 MB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/0.3988, allocations: 0.6483 MB / 468.9 MB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.3989, allocations: 19.98 kB / 468.9 MB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1725/0.5714, allocations: 3.794 MB / 472.7 MB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5714, allocations: 1.719 kB / 472.7 MB, free: 106.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/0.5769, allocations: 3.667 MB / 476.4 MB, free: 105.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.5775, allocations: 338.7 kB / 476.7 MB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.5777, allocations: 24.7 kB / 476.7 MB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/0.5786, allocations: 69.23 kB / 476.8 MB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5787, allocations: 55.48 kB / 476.9 MB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.5788, allocations: 33.81 kB / 476.9 MB, free: 105.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001754/0.5806, allocations: 1.512 MB / 478.4 MB, free: 104.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5806, allocations: 0 / 478.4 MB, free: 104.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002786/0.5834, allocations: 0.6473 MB / 479.1 MB, free: 104.8 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.0002525/0.5836, allocations: 144.9 kB / 479.2 MB, free: 104.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003713/0.5873, allocations: 3.301 MB / 482.5 MB, free: 103.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5873, allocations: 2.688 kB / 482.5 MB, free: 103.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.5882, allocations: 0.8654 MB / 483.4 MB, free: 103.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5893, allocations: 244.3 kB / 483.6 MB, free: 103.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.5952, allocations: 5.52 MB / 489.1 MB, free: 99.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.5967, allocations: 1.623 MB / 490.7 MB, free: 97.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002254/0.599, allocations: 1.37 MB / 492.1 MB, free: 97.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.5992, allocations: 155.4 kB / 492.3 MB, free: 96.93 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5992, allocations: 0 / 492.3 MB, free: 96.93 MB / 430.1 MB Notification: Performance of Templates: time 0.03189/0.6311, allocations: 18.29 MB / 0.4986 GB, free: 78.71 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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.408584294025786]