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.002036/0.002036, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002492/0.002492, allocations: 211 kB / 23.73 MB, free: 4.523 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001886/0.001886, allocations: 47.92 kB / 378.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.293, allocations: 53.35 MB / 431.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01217/0.3052, allocations: 9.049 MB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009988/0.3152, allocations: 3.684 MB / 444.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.3173, allocations: 63.69 kB / 444.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004644/0.322, allocations: 2.021 MB / 446.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004853/0.3268, allocations: 1.665 MB / 448.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.3287, allocations: 0.694 MB / 448.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005702/0.3345, allocations: 3.388 MB / 452.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.3377, allocations: 2.209 MB / 454.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.3398, allocations: 1.273 MB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.3427, allocations: 1.892 MB / 457.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006319/0.3434, allocations: 264 kB / 457.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.3455, allocations: 1.03 MB / 458.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.3472, allocations: 1.593 MB / 460.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.3492, allocations: 1.363 MB / 461.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007826/0.357, allocations: 5.941 MB / 467.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.357, allocations: 0 / 467.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.357, allocations: 0 / 467.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001752/0.3572, allocations: 0 / 467.7 MB, free: 2.469 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.009568/0.3668, allocations: 4.133 MB / 471.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3668, allocations: 12.03 kB / 471.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/0.3738, allocations: 1.878 MB / 473.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/0.3789, allocations: 1.834 MB / 475.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.3791, allocations: 201.2 kB / 475.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008777/0.38, allocations: 271.8 kB / 476 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/0.3984, allocations: 10.06 MB / 486.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.3986, allocations: 47.62 kB / 486.1 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.399, allocations: 131.9 kB / 486.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.4021, allocations: 1.852 MB / 488.1 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.4204, allocations: 8.54 MB / 496.6 MB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04928/0.4697, allocations: 34.65 MB / 0.5188 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009961/0.4796, allocations: 3.098 MB / 0.5219 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.4822, allocations: 1.693 MB / 0.5235 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.494, allocations: 6.214 MB / 0.5296 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.4941, allocations: 51.5 kB / 0.5296 GB, free: 5.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.538e-06/0.4941, allocations: 3.938 kB / 0.5296 GB, free: 5.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.255/0.7491, allocations: 17.53 MB / 0.5468 GB, free: 100.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.7491, allocations: 152.3 kB / 0.5469 GB, free: 99.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.7527, allocations: 3.213 MB / 0.55 GB, free: 98.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.7529, allocations: 53.05 kB / 0.5501 GB, free: 98.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.754, allocations: 2.877 MB / 0.5529 GB, free: 96.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.7545, allocations: 0.6711 MB / 0.5536 GB, free: 95.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.7556, allocations: 1.124 MB / 0.5547 GB, free: 95.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.7557, allocations: 305.1 kB / 0.5549 GB, free: 94.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.7579, allocations: 1.968 MB / 0.5569 GB, free: 93.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.7614, allocations: 5.384 MB / 0.5621 GB, free: 86.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007467/0.7689, allocations: 7.952 MB / 0.5699 GB, free: 76.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.089e-05/0.769, allocations: 36 kB / 0.5699 GB, free: 76.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01406/0.783, allocations: 8.174 MB / 0.5779 GB, free: 68.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.7831, allocations: 56 kB / 0.578 GB, free: 68.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.7832, allocations: 120 kB / 0.5781 GB, free: 68.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/0.7869, allocations: 1.288 MB / 0.5793 GB, free: 66.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.7907, allocations: 1.271 MB / 0.5806 GB, free: 65.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.7981, allocations: 6.35 MB / 0.5868 GB, free: 59.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/0.8021, allocations: 307.6 kB / 0.5871 GB, free: 58.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005554/0.8026, allocations: 344 kB / 0.5874 GB, free: 58.61 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.002169/0.8048, allocations: 1.816 MB / 0.5892 GB, free: 56.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.8052, allocations: 286.1 kB / 0.5894 GB, free: 56.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00623/0.8115, allocations: 3.335 MB / 0.5927 GB, free: 53.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.8115, allocations: 16 kB / 0.5927 GB, free: 53.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.8115, allocations: 8 kB / 0.5927 GB, free: 53.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.8116, allocations: 11.91 kB / 0.5927 GB, free: 53.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.8237, allocations: 6.624 MB / 0.5992 GB, free: 46.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.8238, allocations: 0 / 0.5992 GB, free: 46.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.8249, allocations: 247.6 kB / 0.5994 GB, free: 46.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003563/0.8285, allocations: 1.113 MB / 0.6005 GB, free: 45.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.8286, allocations: 27.98 kB / 0.6006 GB, free: 45.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006826/0.8355, allocations: 5.995 MB / 0.6064 GB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8355, allocations: 0 / 0.6064 GB, free: 39.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008176/0.8436, allocations: 5.721 MB / 0.612 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.8442, allocations: 246 kB / 0.6122 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.8446, allocations: 27.98 kB / 0.6123 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.8458, allocations: 91.88 kB / 0.6123 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.846, allocations: 93.94 kB / 0.6124 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8461, allocations: 40 kB / 0.6125 GB, free: 32.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002032/0.8482, allocations: 1.83 MB / 0.6143 GB, free: 30.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8482, allocations: 0 / 0.6143 GB, free: 30.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003588/0.8518, allocations: 0.8938 MB / 0.6151 GB, free: 30.05 MB / 446.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.0003204/0.8521, allocations: 162.9 kB / 0.6153 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005659/0.8577, allocations: 4.622 MB / 0.6198 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8577, allocations: 0 / 0.6198 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.8596, allocations: 1.449 MB / 0.6212 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.8612, allocations: 295 kB / 0.6215 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.8721, allocations: 8.164 MB / 0.6295 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.8742, allocations: 2.299 MB / 0.6317 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002949/0.8772, allocations: 1.65 MB / 0.6333 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.8777, allocations: 211.4 kB / 0.6335 GB, free: 11.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8777, allocations: 0 / 0.6335 GB, free: 11.15 MB / 446.1 MB Notification: Performance of Templates: time 0.06082/0.9385, allocations: 33.71 MB / 0.6665 GB, free: 9.836 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/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.5005984590388834]