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.001408/0.001408, allocations: 74.95 kB / 21.24 MB, free: 0.5469 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.001574/0.001574, allocations: 160 kB / 24.5 MB, free: 3.719 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.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.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.001547/0.001547, allocations: 59.97 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09216, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01147/0.1036, allocations: 9.039 MB / 387.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.1107, allocations: 3.684 MB / 391.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.1114, allocations: 63.75 kB / 391.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.1152, allocations: 2.028 MB / 393.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.1187, allocations: 1.654 MB / 395.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1201, allocations: 0.6979 MB / 396.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.1244, allocations: 3.393 MB / 399.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.1269, allocations: 2.208 MB / 401.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.1284, allocations: 1.269 MB / 402.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.1307, allocations: 1.799 MB / 404.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.1312, allocations: 260 kB / 405 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.1329, allocations: 0.9986 MB / 406 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.1345, allocations: 1.597 MB / 407.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.136, allocations: 1.367 MB / 409 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.1424, allocations: 5.937 MB / 414.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1424, allocations: 7.875 kB / 414.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1425, allocations: 0 / 414.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.973e-05/0.1426, allocations: 3.984 kB / 414.9 MB, free: 11.5 MB / 382.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.007349/0.1499, allocations: 4.133 MB / 419 MB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1499, allocations: 8.031 kB / 419 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006962/0.1569, allocations: 1.972 MB / 421 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.1606, allocations: 1.838 MB / 422.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.1608, allocations: 205.2 kB / 423.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004979/0.1613, allocations: 271.8 kB / 423.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.1802, allocations: 10.05 MB / 433.4 MB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-05/0.1803, allocations: 47.62 kB / 433.4 MB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.1807, allocations: 139.9 kB / 433.6 MB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/0.1839, allocations: 1.852 MB / 435.4 MB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.2023, allocations: 8.536 MB / 443.9 MB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2146/0.4169, allocations: 34.73 MB / 478.7 MB, free: 59.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009413/0.4263, allocations: 3.226 MB / 481.9 MB, free: 59.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.4284, allocations: 1.686 MB / 483.6 MB, free: 59.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008871/0.4373, allocations: 6.256 MB / 489.8 MB, free: 57.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.4373, allocations: 51.84 kB / 489.9 MB, free: 57.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 3.797e-06/0.4373, allocations: 0 / 489.9 MB, free: 57.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.04438/0.4817, allocations: 18 MB / 0.496 GB, free: 48.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.4817, allocations: 151.3 kB / 0.4961 GB, free: 48.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.4848, allocations: 3.22 MB / 0.4993 GB, free: 45.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.4849, allocations: 45.7 kB / 0.4993 GB, free: 45.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009329/0.4858, allocations: 2.879 MB / 0.5021 GB, free: 42.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.4861, allocations: 0.6695 MB / 0.5028 GB, free: 41.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.4872, allocations: 1.128 MB / 0.5039 GB, free: 40.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.4873, allocations: 305.1 kB / 0.5042 GB, free: 40.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.4896, allocations: 1.971 MB / 0.5061 GB, free: 38.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.4929, allocations: 5.392 MB / 0.5114 GB, free: 31.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005976/0.4989, allocations: 7.971 MB / 0.5191 GB, free: 21.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.241e-05/0.499, allocations: 36 kB / 0.5192 GB, free: 21.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01136/0.5103, allocations: 8.179 MB / 0.5272 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.5104, allocations: 60.94 kB / 0.5272 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-05/0.5105, allocations: 120 kB / 0.5273 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/0.514, allocations: 1.296 MB / 0.5286 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.5171, allocations: 1.275 MB / 0.5299 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.5241, allocations: 6.353 MB / 0.5361 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.5273, allocations: 329.7 kB / 0.5364 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/0.5276, allocations: 340 kB / 0.5367 GB, free: 3.789 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.00182/0.5294, allocations: 1.814 MB / 0.5385 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.5297, allocations: 282.1 kB / 0.5387 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.5366, allocations: 3.339 MB / 0.542 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.5366, allocations: 16 kB / 0.542 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.5366, allocations: 8 kB / 0.542 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5366, allocations: 7.969 kB / 0.542 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.5503, allocations: 6.632 MB / 0.5485 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5503, allocations: 0 / 0.5485 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.5515, allocations: 247.6 kB / 0.5487 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004015/0.5555, allocations: 1.119 MB / 0.5498 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.5556, allocations: 31.98 kB / 0.5499 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009569/0.5652, allocations: 5.987 MB / 0.5557 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.5652, allocations: 7.969 kB / 0.5557 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.5757, allocations: 5.714 MB / 0.5613 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/0.5763, allocations: 246 kB / 0.5615 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/0.5766, allocations: 27.83 kB / 0.5616 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.578, allocations: 111.8 kB / 0.5617 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.5783, allocations: 96.75 kB / 0.5618 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.5784, allocations: 40 kB / 0.5618 GB, free: 9.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003428/0.5818, allocations: 1.822 MB / 0.5636 GB, free: 8.082 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5818, allocations: 0 / 0.5636 GB, free: 8.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004112/0.5859, allocations: 0.8944 MB / 0.5644 GB, free: 7.188 MB / 462.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.0004006/0.5863, allocations: 154.8 kB / 0.5646 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008226/0.5946, allocations: 4.641 MB / 0.5691 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5946, allocations: 4.125 kB / 0.5691 GB, free: 2.402 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002552/0.5971, allocations: 1.453 MB / 0.5706 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.599, allocations: 305.7 kB / 0.5708 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.6144, allocations: 8.139 MB / 0.5788 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003903/0.6183, allocations: 2.299 MB / 0.581 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004065/0.6223, allocations: 1.666 MB / 0.5827 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/0.623, allocations: 200.5 kB / 0.5829 GB, free: 4.285 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.623, allocations: 0 / 0.5829 GB, free: 4.285 MB / 478.1 MB Notification: Performance of Templates: time 0.05701/0.68, allocations: 27.7 MB / 0.6099 GB, free: 9 MB / 0.4981 GB " [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 -s ida -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.099292102036998]