Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001071/0.001071, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001826/0.001826, allocations: 164.2 kB / 24.91 MB, free: 8.766 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.9961/0.9961, allocations: 177 MB / 205.2 MB, free: 5.453 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.2898/0.2898, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.8e-05, allocations: 5.922 kB / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00267/0.002698, allocations: 1.802 MB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004105, allocations: 1.009 MB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.004186, allocations: 7.938 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.004479, allocations: 39.75 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.004743, allocations: 99.42 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.004906, allocations: 71.67 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.005067, allocations: 116.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.005155, allocations: 11.98 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.005248, allocations: 55.81 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.005326, allocations: 23.92 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.005341, allocations: 4 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.005421, allocations: 43.92 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.00547, allocations: 27.84 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.005505, allocations: 19.88 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.005683, allocations: 103.6 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.005687, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005688, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005693, allocations: 4 kB / 329.5 MB, free: 3.574 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.0003877/0.006081, allocations: 317.6 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.006118, allocations: 12.03 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.006155, allocations: 8.922 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.00635, allocations: 150.1 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.00637, allocations: 8.375 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.006391, allocations: 384 / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.006527, allocations: 69.75 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.006541, allocations: 192 / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.006549, allocations: 384 / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006557, allocations: 7.938 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.006588, allocations: 8 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.00685, allocations: 161.9 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.006958, allocations: 89.3 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.006984, allocations: 12.86 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.007, allocations: 0 / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.007106, allocations: 62.2 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.007108, allocations: 0 / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003302/0.007438, allocations: 121.8 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.007472, allocations: 55.39 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.007597, allocations: 173.3 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.007618, allocations: 33.7 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.007653, allocations: 100.1 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.007681, allocations: 23.8 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.007712, allocations: 21.69 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.007793, allocations: 326.8 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.007813, allocations: 14.83 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.007842, allocations: 29.69 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.00789, allocations: 40.53 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007891, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002682/0.008159, allocations: 72.42 kB / 331.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.008173, allocations: 7.938 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008178, allocations: 4 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.008191, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.201e-05/0.008263, allocations: 19.97 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-06/0.008267, allocations: 0 / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.0083, allocations: 12 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.008305, allocations: 32 / 331.4 MB, free: 1.473 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 7.088e-05/0.008376, allocations: 127.1 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.008391, allocations: 19.86 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.008511, allocations: 75.06 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008513, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008515, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.008523, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.008769, allocations: 295.6 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.008771, allocations: 3.938 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.008804, allocations: 12 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008806, allocations: 4.031 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008814, allocations: 3.984 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.008817, allocations: 0 / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.008819, allocations: 4 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.008938, allocations: 215.8 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.008952, allocations: 11.89 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.008967, allocations: 0 / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.009011, allocations: 11.98 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.00904, allocations: 4 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.009054, allocations: 3.984 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.009097, allocations: 51.66 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009098, allocations: 0 / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.009251, allocations: 27.92 kB / 332.3 MB, free: 0.5508 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.00137/0.01062, allocations: 0.5581 MB / 332.8 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.01075, allocations: 44.77 kB / 332.9 MB, free: 232 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.01075, allocations: 4 kB / 332.9 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.01079, allocations: 24.78 kB / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01102, allocations: 35.91 kB / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.01138, allocations: 216 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.01142, allocations: 63.34 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.01146, allocations: 25.39 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.01153, allocations: 71.3 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.01154, allocations: 0 / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of Templates: time 0.004004/0.01554, allocations: 2.018 MB / 335.3 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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: 2.9470234429463744]