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.0009529/0.0009529, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001427/0.001427, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 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.9458/0.9458, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.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.032e-06/1.032e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.343e-05, allocations: 2.312 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.007792/0.007805, allocations: 9.993 MB / 283 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005239/0.01304, allocations: 3.792 MB / 286.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.01367, allocations: 63.69 kB / 286.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.01592, allocations: 2.227 MB / 289.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1045/0.1204, allocations: 1.718 MB / 290.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1219, allocations: 0.7421 MB / 291.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003683/0.1256, allocations: 3.763 MB / 295.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.1285, allocations: 2.531 MB / 297.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.131, allocations: 1.918 MB / 299.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.1329, allocations: 1.916 MB / 301.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.1332, allocations: 268.3 kB / 301.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.1346, allocations: 1.05 MB / 303 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009626/0.1356, allocations: 1.674 MB / 304.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000832/0.1364, allocations: 1.061 MB / 305.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.1395, allocations: 4.005 MB / 309.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1395, allocations: 0 / 309.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1395, allocations: 0 / 309.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.1395, allocations: 0 / 309.7 MB, free: 9.918 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.004721/0.1442, allocations: 4.487 MB / 314.2 MB, free: 6.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1442, allocations: 17.23 kB / 314.2 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.1492, allocations: 2.324 MB / 316.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.1512, allocations: 1.716 MB / 318.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.1513, allocations: 204 kB / 318.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.1517, allocations: 279.9 kB / 318.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009529/0.1612, allocations: 6.588 MB / 325.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-05/0.1613, allocations: 34.52 kB / 325.4 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/0.1616, allocations: 139.4 kB / 325.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.1639, allocations: 1.857 MB / 327.3 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009114/0.173, allocations: 3.933 MB / 331.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02533/0.1984, allocations: 40.8 MB / 372.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.2032, allocations: 2.188 MB / 374.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.204, allocations: 0.6319 MB / 374.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004532/0.2085, allocations: 4.597 MB / 379.5 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2085, allocations: 50.39 kB / 379.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 4.087e-06/0.2085, allocations: 4 kB / 379.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=166): time 0.02536/0.2339, allocations: 13.4 MB / 392.9 MB, free: 6.418 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2339, allocations: 152.2 kB / 393.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.2367, allocations: 3.009 MB / 396.1 MB, free: 3.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/0.2367, allocations: 45.7 kB / 396.2 MB, free: 3.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.238, allocations: 2.992 MB / 399.1 MB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.2384, allocations: 0.6923 MB / 399.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.2395, allocations: 1.195 MB / 401 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.2395, allocations: 476.8 kB / 401.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.2408, allocations: 0.6667 MB / 402.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.2441, allocations: 5.73 MB / 407.9 MB, free: 5.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/0.2488, allocations: 7.075 MB / 415 MB, free: 11.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/0.2488, allocations: 40 kB / 415 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.006935/0.2558, allocations: 5.608 MB / 420.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.2558, allocations: 59.98 kB / 420.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.971e-05/0.2559, allocations: 120 kB / 420.8 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.2579, allocations: 0.9302 MB / 421.7 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.26, allocations: 1.271 MB / 423 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.2639, allocations: 3.578 MB / 426.6 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.2656, allocations: 340.9 kB / 426.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/0.2659, allocations: 351 kB / 427.2 MB, free: 15.36 MB / 394.7 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.0008204/0.2667, allocations: 0.6069 MB / 427.9 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.267, allocations: 330.1 kB / 428.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/0.2701, allocations: 1.959 MB / 430.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.2702, allocations: 23.98 kB / 430.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2702, allocations: 4 kB / 430.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.2702, allocations: 11.91 kB / 430.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/0.2772, allocations: 5.157 MB / 435.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.2772, allocations: 0 / 435.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.2778, allocations: 247.6 kB / 435.6 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.2796, allocations: 0.76 MB / 436.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.2797, allocations: 24 kB / 436.4 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.2831, allocations: 3.293 MB / 439.6 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2831, allocations: 7.938 kB / 439.7 MB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1063/0.3893, allocations: 3.017 MB / 442.7 MB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.3899, allocations: 264.1 kB / 442.9 MB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.3902, allocations: 25.25 kB / 443 MB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008114/0.3911, allocations: 121.5 kB / 443.1 MB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.3913, allocations: 99.34 kB / 443.2 MB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.3914, allocations: 48.8 kB / 443.2 MB, free: 130.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00158/0.393, allocations: 1.263 MB / 444.5 MB, free: 130.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.393, allocations: 0.5 kB / 444.5 MB, free: 130.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002985/0.3959, allocations: 0.963 MB / 445.4 MB, free: 130.1 MB / 394.7 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.0003387/0.3963, allocations: 173.5 kB / 445.6 MB, free: 130 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.4002, allocations: 2.998 MB / 448.6 MB, free: 129.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4002, allocations: 1.062 kB / 448.6 MB, free: 129.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4013, allocations: 0.8849 MB / 449.5 MB, free: 129.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.4024, allocations: 320.6 kB / 449.8 MB, free: 129.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007888/0.4103, allocations: 6.543 MB / 456.4 MB, free: 126.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.411, allocations: 1.047 MB / 457.4 MB, free: 126.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001786/0.4128, allocations: 1.441 MB / 458.8 MB, free: 126.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.4132, allocations: 200.8 kB / 459 MB, free: 126.5 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4132, allocations: 3.594 kB / 459 MB, free: 126.5 MB / 394.7 MB Notification: Performance of Templates: time 0.03172/0.4449, allocations: 29.18 MB / 488.2 MB, free: 104.4 MB / 394.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 -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.858335047028959]