Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.0009835/0.0009835, 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.001171/0.001171, allocations: 168.9 kB / 24.91 MB, free: 8.762 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 1.039/1.039, allocations: 177 MB / 205.2 MB, free: 5.426 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.2914/0.2914, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.241e-05, allocations: 3.016 kB / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003827/0.003859, allocations: 1.813 MB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.005701, allocations: 1.009 MB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.005802, allocations: 3.938 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.006161, allocations: 35.77 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.006514, allocations: 95.42 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.006874, allocations: 83.67 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.007093, allocations: 107.6 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.007181, allocations: 11.98 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.007273, allocations: 51.83 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.007354, allocations: 27.91 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.00737, allocations: 4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.007474, allocations: 47.86 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.00752, allocations: 27.86 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.00755, allocations: 23.91 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.007723, allocations: 95.66 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.007727, allocations: 0 / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.007729, allocations: 4 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007735, 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.0003841/0.008119, allocations: 321.5 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.008158, allocations: 8.031 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.00819, allocations: 8.938 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.00835, allocations: 150.2 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.008364, allocations: 384 / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.008382, allocations: 8.359 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.00853, allocations: 61.77 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.008543, allocations: 4.188 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.00855, allocations: 4.375 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.008557, allocations: 3.938 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.569e-05/0.008582, allocations: 7.984 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.00882, allocations: 166 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.008925, allocations: 89.22 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.008947, allocations: 12.84 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.00896, allocations: 4 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.029e-05/0.009051, allocations: 58.22 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.009052, allocations: 8 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002988/0.009351, allocations: 109.8 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.009384, allocations: 59.39 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.009498, allocations: 173.3 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.009511, allocations: 25.7 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.009548, allocations: 104.1 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.009575, allocations: 27.77 kB / 330.9 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.009605, allocations: 17.72 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.00969, allocations: 326.8 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.009709, allocations: 18.83 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.009735, allocations: 25.7 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.009777, allocations: 40.52 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.009777, allocations: 0 / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.853e-05/0.009856, allocations: 72.44 kB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.009868, allocations: 7.938 kB / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.009872, allocations: 0 / 331.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.00989, allocations: 4 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.009952, allocations: 15.98 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.009955, allocations: 0 / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.009984, allocations: 19.91 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.00999, allocations: 0 / 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 6.71e-05/0.01006, allocations: 120.7 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.01007, allocations: 7.938 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.01018, allocations: 87.05 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01018, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01018, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01019, allocations: 0 / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.01041, allocations: 299.6 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01041, allocations: 3.938 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.01044, allocations: 16.02 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01044, allocations: 0 / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.01045, allocations: 4 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01045, allocations: 0 / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01045, allocations: 0 / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.01056, allocations: 215.8 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.01057, allocations: 15.88 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.01059, allocations: 4 kB / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.01062, allocations: 0 / 332.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.01065, allocations: 7.984 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01066, allocations: 12 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.0107, allocations: 47.64 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0107, allocations: 0 / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.01084, allocations: 23.94 kB / 332.2 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.001348/0.01219, allocations: 0.5635 MB / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.01229, allocations: 40.78 kB / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01229, allocations: 0 / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.01232, allocations: 32.78 kB / 332.9 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.0125, allocations: 27.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.0003123/0.01281, 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.209e-05/0.01285, allocations: 63.34 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.01289, allocations: 21.39 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.01296, allocations: 75.34 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01296, allocations: 0 / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of Templates: time 0.004057/0.01701, allocations: 2.019 MB / 335.3 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.051406940910965]