Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002027/0.002027, allocations: 84.92 kB / 22 MB, free: 4.75 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.002409/0.002409, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.292/1.292, allocations: 158.6 MB / 187 MB, free: 6.203 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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [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.001857/0.001857, allocations: 64.39 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2143, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01168/0.226, allocations: 9.09 MB / 357.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007776/0.2337, allocations: 3.684 MB / 361.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2347, allocations: 67.69 kB / 361.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004023/0.2388, allocations: 2.04 MB / 363.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.2428, allocations: 1.681 MB / 365.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2444, allocations: 0.6979 MB / 365.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00441/0.2488, allocations: 3.377 MB / 369.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.2515, allocations: 2.223 MB / 371.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.2532, allocations: 1.293 MB / 372.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.2557, allocations: 1.798 MB / 374.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.2562, allocations: 264 kB / 374.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.2581, allocations: 1.018 MB / 375.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.2597, allocations: 1.613 MB / 377.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.2613, allocations: 1.386 MB / 378.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006744/0.2681, allocations: 5.99 MB / 384.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2681, allocations: 0 / 384.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2681, allocations: 3.938 kB / 384.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.2682, allocations: 0 / 384.7 MB, free: 11.13 MB / 350.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.00781/0.276, allocations: 4.168 MB / 388.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2761, allocations: 11.98 kB / 388.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007346/0.2834, allocations: 1.972 MB / 390.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.2879, allocations: 1.92 MB / 392.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.2881, allocations: 209.1 kB / 393 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/0.2886, allocations: 267.9 kB / 393.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/0.3088, allocations: 10.03 MB / 403.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.3089, allocations: 43.67 kB / 403.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.3095, allocations: 127.9 kB / 403.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003578/0.3131, allocations: 1.852 MB / 405.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.3325, allocations: 8.516 MB / 413.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04579/0.3783, allocations: 34.74 MB / 448.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.3883, allocations: 3.196 MB / 451.8 MB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/0.3909, allocations: 1.685 MB / 453.5 MB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.4018, allocations: 6.239 MB / 459.7 MB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.4018, allocations: 51.39 kB / 459.8 MB, free: 14.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.137e-06/0.4018, allocations: 0 / 459.8 MB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.2222/0.6241, allocations: 17.9 MB / 477.7 MB, free: 109.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.6241, allocations: 149.3 kB / 477.8 MB, free: 109.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/0.6276, allocations: 3.247 MB / 481 MB, free: 108.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.6277, allocations: 53.02 kB / 481.1 MB, free: 108.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.6288, allocations: 2.872 MB / 484 MB, free: 106.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/0.6292, allocations: 0.6753 MB / 484.6 MB, free: 106.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.6302, allocations: 1.126 MB / 485.8 MB, free: 105.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.6303, allocations: 311.8 kB / 486.1 MB, free: 105.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.6325, allocations: 1.962 MB / 488 MB, free: 104.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003191/0.6357, allocations: 5.378 MB / 493.4 MB, free: 99.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005786/0.6415, allocations: 7.946 MB / 0.4896 GB, free: 91.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-05/0.6415, allocations: 32 kB / 0.4896 GB, free: 91.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01155/0.6531, allocations: 8.157 MB / 0.4976 GB, free: 83.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.6532, allocations: 60 kB / 0.4977 GB, free: 83.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-05/0.6532, allocations: 120 kB / 0.4978 GB, free: 82.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/0.6568, allocations: 1.3 MB / 0.499 GB, free: 81.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.6601, allocations: 1.271 MB / 0.5003 GB, free: 80.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/0.6673, allocations: 6.35 MB / 0.5065 GB, free: 73.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/0.6708, allocations: 322 kB / 0.5068 GB, free: 73.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/0.6712, allocations: 344 kB / 0.5071 GB, free: 73.3 MB / 430.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.002013/0.6732, allocations: 1.813 MB / 0.5089 GB, free: 71.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/0.6736, allocations: 286.1 kB / 0.5092 GB, free: 71.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006119/0.6798, allocations: 3.323 MB / 0.5124 GB, free: 67.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.6798, allocations: 16 kB / 0.5124 GB, free: 67.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.6798, allocations: 8 kB / 0.5124 GB, free: 67.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.6798, allocations: 7.969 kB / 0.5124 GB, free: 67.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6906, allocations: 6.627 MB / 0.5189 GB, free: 61.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.6906, allocations: 0 / 0.5189 GB, free: 61.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.6917, allocations: 243.6 kB / 0.5191 GB, free: 60.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/0.6951, allocations: 1.116 MB / 0.5202 GB, free: 59.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.6952, allocations: 31.98 kB / 0.5203 GB, free: 59.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.7022, allocations: 5.986 MB / 0.5261 GB, free: 53.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7022, allocations: 4.031 kB / 0.5261 GB, free: 53.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008203/0.7104, allocations: 5.668 MB / 0.5317 GB, free: 48.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.7117, allocations: 485.8 kB / 0.5321 GB, free: 47.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/0.7122, allocations: 28 kB / 0.5321 GB, free: 47.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.7137, allocations: 91.86 kB / 0.5322 GB, free: 47.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.7139, allocations: 100.8 kB / 0.5323 GB, free: 47.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.714, allocations: 47.2 kB / 0.5324 GB, free: 47.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00254/0.7166, allocations: 1.838 MB / 0.5342 GB, free: 45.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7166, allocations: 4 kB / 0.5342 GB, free: 45.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004057/0.7206, allocations: 0.9023 MB / 0.5351 GB, free: 44.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003543/0.721, allocations: 165.3 kB / 0.5352 GB, free: 44.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006208/0.7272, allocations: 4.605 MB / 0.5397 GB, free: 39.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7272, allocations: 0 / 0.5397 GB, free: 39.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.729, allocations: 1.434 MB / 0.5411 GB, free: 38.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7308, allocations: 314.1 kB / 0.5414 GB, free: 38.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.7421, allocations: 8.145 MB / 0.5494 GB, free: 29.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.7448, allocations: 2.313 MB / 0.5516 GB, free: 27.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003073/0.7479, allocations: 1.662 MB / 0.5532 GB, free: 25.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.7484, allocations: 200.5 kB / 0.5534 GB, free: 25.65 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.7484, allocations: 0 / 0.5534 GB, free: 25.65 MB / 430.1 MB Notification: Performance of Templates: time 0.04657/0.795, allocations: 27.84 MB / 0.5806 GB, free: 13.77 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.040099133970216]