Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001094/0.001094, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009544/0.0009544, allocations: 165.5 kB / 24.91 MB, free: 8.77 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.9852/0.9852, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.287/0.287, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.632e-05, allocations: 7.703 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003687/0.003723, allocations: 1.765 MB / 327.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.005467, allocations: 1.009 MB / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.005544, allocations: 0 / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.005814, allocations: 43.7 kB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.006132, allocations: 99.47 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.006337, allocations: 79.61 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.006508, allocations: 108.4 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.006585, allocations: 7.984 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.006689, allocations: 63.75 kB / 329.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.006761, allocations: 23.92 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.006778, allocations: 8 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.006868, allocations: 43.92 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.006916, allocations: 27.84 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.00695, allocations: 15.94 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.007135, allocations: 103.6 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007137, allocations: 0 / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007138, allocations: 0 / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.007142, allocations: 0 / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004007/0.007543, allocations: 325.5 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.007577, allocations: 8.031 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.007612, allocations: 12.94 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.007788, allocations: 146.3 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.007806, allocations: 12.3 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.007827, allocations: 4.375 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.007951, allocations: 65.7 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.007962, allocations: 192 / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.00797, allocations: 4.375 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.007978, allocations: 3.938 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.008006, allocations: 4 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.008236, allocations: 165.9 kB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.008344, allocations: 93.34 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.008367, allocations: 12.84 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.008379, allocations: 4 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.941e-05/0.008469, allocations: 58.16 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.00847, allocations: 0 / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003199/0.00879, allocations: 121.5 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.008825, allocations: 55.41 kB / 330.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.008957, allocations: 173.3 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.008973, allocations: 33.7 kB / 330.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.009014, allocations: 100.1 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.00904, allocations: 19.8 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.00908, allocations: 29.69 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.009174, allocations: 322.8 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.009196, allocations: 14.83 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.009225, allocations: 25.69 kB / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.00928, allocations: 44.47 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009281, allocations: 0 / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.709e-05/0.009379, allocations: 76.42 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.00939, allocations: 7.938 kB / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.009394, allocations: 0 / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.009408, allocations: 0 / 331.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.00947, allocations: 15.98 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.009475, allocations: 4.375 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.009511, allocations: 4 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.009519, allocations: 4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.009589, allocations: 112.7 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.00961, allocations: 19.92 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.009726, allocations: 79.09 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.009729, allocations: 7.938 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00973, allocations: 0 / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009733, allocations: 0 / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.01025, allocations: 287.5 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01025, allocations: 7.938 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.01028, allocations: 8 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01028, allocations: 3.938 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.01029, allocations: 3.984 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01029, allocations: 4.234 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01029, allocations: 4.031 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.01043, allocations: 217.7 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.01055, allocations: 15.83 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.01058, allocations: 0 / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01069, allocations: 11.98 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.01072, allocations: 7.984 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.01074, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.01081, allocations: 51.64 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01081, allocations: 0 / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.01098, allocations: 23.94 kB / 332.2 MB, free: 0.668 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001652/0.01264, allocations: 0.5623 MB / 332.7 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.01276, allocations: 44.77 kB / 332.8 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01277, allocations: 4 kB / 332.8 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.0128, allocations: 28.84 kB / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01298, allocations: 42.94 kB / 332.8 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.01327, allocations: 212 kB / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01331, allocations: 67.34 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.01335, allocations: 17.27 kB / 333.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.01341, allocations: 67.36 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01341, allocations: 4.062 kB / 333.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003399/0.01681, allocations: 2.012 MB / 335.2 MB, free: 13.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.0702746072784066]