Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001298/0.001298, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001409/0.001409, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2119, allocations: 53.38 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01152/0.2234, allocations: 9.034 MB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007377/0.2308, allocations: 3.687 MB / 445.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.2316, allocations: 63.69 kB / 445.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.2357, allocations: 2.024 MB / 447.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.24, allocations: 1.654 MB / 448.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.2415, allocations: 0.6979 MB / 449.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.2459, allocations: 3.396 MB / 452.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.2485, allocations: 2.208 MB / 455.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.2502, allocations: 1.273 MB / 456.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.2527, allocations: 1.896 MB / 458.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.2532, allocations: 260 kB / 458.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.255, allocations: 1.026 MB / 459.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.2566, allocations: 1.601 MB / 461.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.2581, allocations: 1.363 MB / 462.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00668/0.2648, allocations: 5.928 MB / 468.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2648, allocations: 0 / 468.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2648, allocations: 0 / 468.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000118/0.2649, allocations: 4 kB / 468.5 MB, free: 2.449 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007524/0.2724, allocations: 4.141 MB / 472.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2724, allocations: 8.031 kB / 472.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/0.2793, allocations: 1.878 MB / 474.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.2838, allocations: 1.826 MB / 476.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.284, allocations: 213.2 kB / 476.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005687/0.2846, allocations: 267.8 kB / 476.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.3032, allocations: 10.07 MB / 486.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.3033, allocations: 39.64 kB / 486.9 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.3036, allocations: 131.9 kB / 487 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003217/0.3069, allocations: 1.852 MB / 488.9 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.3249, allocations: 8.544 MB / 497.4 MB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04445/0.3694, allocations: 34.65 MB / 0.5196 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009757/0.3791, allocations: 3.09 MB / 0.5226 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.3816, allocations: 1.693 MB / 0.5243 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.3929, allocations: 6.214 MB / 0.5303 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.3929, allocations: 59.48 kB / 0.5304 GB, free: 5.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.228e-06/0.3929, allocations: 0 / 0.5304 GB, free: 5.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2214/0.6143, allocations: 17.52 MB / 0.5475 GB, free: 99.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.6143, allocations: 144.3 kB / 0.5476 GB, free: 99.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.6173, allocations: 3.236 MB / 0.5508 GB, free: 98.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.6174, allocations: 52.56 kB / 0.5508 GB, free: 98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/0.6183, allocations: 2.871 MB / 0.5536 GB, free: 95.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.6187, allocations: 0.6715 MB / 0.5543 GB, free: 95.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.6198, allocations: 1.131 MB / 0.5554 GB, free: 94.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.6198, allocations: 301.1 kB / 0.5557 GB, free: 94.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.622, allocations: 1.965 MB / 0.5576 GB, free: 92.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/0.6251, allocations: 5.385 MB / 0.5629 GB, free: 85.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00569/0.6308, allocations: 7.949 MB / 0.5706 GB, free: 76.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-05/0.6308, allocations: 40 kB / 0.5707 GB, free: 76.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01156/0.6424, allocations: 8.158 MB / 0.5786 GB, free: 67.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.6425, allocations: 67.92 kB / 0.5787 GB, free: 67.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.161e-05/0.6425, allocations: 120 kB / 0.5788 GB, free: 67.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/0.6463, allocations: 1.292 MB / 0.5801 GB, free: 66.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.65, allocations: 1.271 MB / 0.5813 GB, free: 65.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.6572, allocations: 6.356 MB / 0.5875 GB, free: 58.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/0.6608, allocations: 310 kB / 0.5878 GB, free: 58.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/0.6612, allocations: 347.9 kB / 0.5882 GB, free: 58.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001905/0.6631, allocations: 1.805 MB / 0.5899 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/0.6635, allocations: 286.1 kB / 0.5902 GB, free: 55.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/0.6697, allocations: 3.342 MB / 0.5935 GB, free: 52.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6698, allocations: 3.984 kB / 0.5935 GB, free: 52.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6698, allocations: 0 / 0.5935 GB, free: 52.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.6702, allocations: 249.9 kB / 0.5937 GB, free: 52.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.6705, allocations: 31.22 kB / 0.5937 GB, free: 52.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6717, allocations: 95.88 kB / 0.5938 GB, free: 52.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.6719, allocations: 112.7 kB / 0.5939 GB, free: 52.12 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005929/0.6779, allocations: 3.634 MB / 0.5975 GB, free: 48.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004594/0.6825, allocations: 4.661 MB / 0.602 GB, free: 43.81 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001191/0.6836, allocations: 1.101 MB / 0.6031 GB, free: 42.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.6856, allocations: 1.826 MB / 0.6049 GB, free: 40.89 MB / 446.1 MB Notification: Performance of Backend: time 2.9e-07/0.6856, allocations: 3.938 kB / 0.6049 GB, free: 40.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006125/0.6917, allocations: 3.786 MB / 0.6086 GB, free: 37.13 MB / 446.1 MB Notification: Performance of SimCode: time 0.009386/0.7011, allocations: 8.006 MB / 0.6164 GB, free: 29.08 MB / 446.1 MB Notification: Performance of Templates: time 0.06628/0.7674, allocations: 44.68 MB / 0.66 GB, free: 0.8203 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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: 6.113032050998299]