Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002751, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.00245, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9333/0.9333, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0819/1.015, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.535e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01927/0.0193, allocations: 9.853 MB / 254.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.03394, allocations: 3.943 MB / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.03619, allocations: 63.69 kB / 258.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003911/0.0401, allocations: 2.125 MB / 261 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.04433, allocations: 1.68 MB / 262.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.04543, allocations: 0.6976 MB / 263.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.04868, allocations: 3.689 MB / 267.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.051, allocations: 2.329 MB / 269.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.05314, allocations: 2.055 MB / 271.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.05502, allocations: 1.753 MB / 273.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004732/0.05549, allocations: 267.9 kB / 273.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.106/0.1615, allocations: 1.065 MB / 274.5 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.1635, allocations: 1.483 MB / 276 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.1654, allocations: 0.852 MB / 276.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.1702, allocations: 3.685 MB / 280.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.1702, allocations: 1.094 kB / 280.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1702, allocations: 0 / 280.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000225/0.1705, allocations: 0 / 280.6 MB, free: 6.359 MB / 266.7 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.009294/0.1798, allocations: 4.634 MB / 285.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1798, allocations: 14.84 kB / 285.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.1827, allocations: 1.021 MB / 286.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.1847, allocations: 1.423 MB / 287.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/0.1848, allocations: 208.6 kB / 287.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/0.1851, allocations: 274.2 kB / 288.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005858/0.191, allocations: 4.686 MB / 292.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.996e-05/0.191, allocations: 37.91 kB / 292.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.1913, allocations: 133.4 kB / 293 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.1926, allocations: 1.6 MB / 294.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004701/0.1973, allocations: 2.412 MB / 297 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.2207, allocations: 28.87 MB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.2243, allocations: 1.742 MB / 327.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.2248, allocations: 407.2 kB / 328 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004809/0.2296, allocations: 3.391 MB / 331.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2296, allocations: 54.3 kB / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=135): time 3.757e-06/0.2296, allocations: 0 / 331.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=145): time 0.01057/0.2402, allocations: 4.759 MB / 336.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.2403, allocations: 145.5 kB / 336.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.2428, allocations: 2.789 MB / 339.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.2429, allocations: 41.7 kB / 339.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.2441, allocations: 2.805 MB / 342 MB, free: 7.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.2445, allocations: 0.5972 MB / 342.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008153/0.2453, allocations: 1.059 MB / 343.6 MB, free: 6.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.2453, allocations: 305.1 kB / 343.9 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2464, allocations: 0.6671 MB / 344.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.2487, allocations: 4.13 MB / 348.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.2527, allocations: 5.325 MB / 354 MB, free: 8.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.681e-05/0.2528, allocations: 36 kB / 354.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.005004/0.2578, allocations: 3.851 MB / 357.9 MB, free: 4.855 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.2578, allocations: 64.03 kB / 358 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.2579, allocations: 128 kB / 358.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/0.2585, allocations: 301 kB / 358.4 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.261, allocations: 1.412 MB / 359.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2624, allocations: 1.93 MB / 361.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.2648, allocations: 255.7 kB / 362 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003125/0.2651, allocations: 297.9 kB / 362.3 MB, free: 420 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 (706): * Single equations (assignments): 702 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.2668, allocations: 0.603 MB / 362.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.2672, allocations: 178.1 kB / 363.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/0.2681, allocations: 0.7409 MB / 363.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.2682, allocations: 21.64 kB / 363.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2682, allocations: 4 kB / 363.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.2682, allocations: 7.969 kB / 363.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.2727, allocations: 3.348 MB / 367.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.2727, allocations: 11.94 kB / 367.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.2732, allocations: 231.7 kB / 367.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.2736, allocations: 261.6 kB / 367.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/0.2742, allocations: 292.2 kB / 368 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.2743, allocations: 35.36 kB / 368 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2754, allocations: 1.707 MB / 369.7 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.2754, allocations: 11.94 kB / 369.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.2768, allocations: 1.662 MB / 371.4 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.2771, allocations: 35.98 kB / 371.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.2776, allocations: 32 kB / 371.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2777, allocations: 108.2 kB / 371.6 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.2777, allocations: 39.98 kB / 371.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009266/0.2787, allocations: 0.9804 MB / 372.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2787, allocations: 0 / 372.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003485/0.2822, allocations: 0.8536 MB / 373.4 MB, free: 5.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (121): * Single equations (assignments): 117 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004637/0.2826, allocations: 173.7 kB / 373.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.2854, allocations: 2.292 MB / 375.9 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001715/0.2856, allocations: 108.1 kB / 376 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.286, allocations: 499.4 kB / 376.5 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.2878, allocations: 0.6951 MB / 377.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/0.2974, allocations: 6.502 MB / 383.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009744/0.2984, allocations: 1.033 MB / 384.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001104/0.2995, allocations: 443.4 kB / 385.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.3001, allocations: 481.2 kB / 385.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3001, allocations: 0 / 385.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of Templates: time 0.04452/0.3446, allocations: 24.07 MB / 409.7 MB, free: 1.477 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.549628760665655]