Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001044/0.001044, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002445, 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.001048/0.001048, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008655/0.001914, 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.9686/0.9686, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09022/1.059, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.2536/0.2536, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02181/0.2754, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.357e-05, allocations: 6.094 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002712/0.002726, allocations: 1.795 MB / 295.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.004264, allocations: 1.029 MB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.004325, allocations: 7.938 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.004497, allocations: 43.77 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.004726, allocations: 99.47 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.004901, allocations: 71.67 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.005057, allocations: 111.6 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.005119, allocations: 11.98 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.005248, allocations: 75.83 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.00532, allocations: 31.89 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.005334, allocations: 4 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.00542, allocations: 43.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.005462, allocations: 23.88 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.005496, allocations: 15.94 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.005664, allocations: 107.5 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.005677, allocations: 0 / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005678, allocations: 4 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.005694, allocations: 0 / 297.4 MB, free: 1.617 MB / 282.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.0004469/0.006141, allocations: 348.9 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.006171, allocations: 16.92 kB / 297.8 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.006205, allocations: 4.938 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.006343, allocations: 154.9 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.006355, allocations: 4.359 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.006367, allocations: 4.375 kB / 297.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.467e-05/0.006452, allocations: 61.77 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.006459, allocations: 192 / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.006465, allocations: 4.375 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.00647, allocations: 3.938 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.006492, allocations: 8 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.006657, allocations: 181.8 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.071e-05/0.006738, allocations: 89.22 kB / 298.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.006757, allocations: 20.91 kB / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.006764, allocations: 0 / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/0.006839, allocations: 58.22 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.41e-07/0.00684, allocations: 0 / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002396/0.00708, allocations: 113.5 kB / 298.5 MB, free: 468 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.007104, allocations: 51.41 kB / 298.5 MB, free: 404 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007204, allocations: 200.1 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.007216, allocations: 25.7 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.007244, allocations: 96.11 kB / 298.8 MB, free: 56 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.007267, allocations: 31.73 kB / 298.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.007313, allocations: 29.69 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.007387, allocations: 322.8 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.007402, allocations: 10.77 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.007423, allocations: 30.62 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.007458, allocations: 36.59 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007459, allocations: 7.938 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.409e-05/0.007523, allocations: 72.42 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.007534, allocations: 11.94 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.007537, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.007543, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.007599, allocations: 23.98 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.007602, allocations: 0 / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.007626, allocations: 4 kB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.00763, allocations: 0 / 299.4 MB, free: 15.45 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.811e-05/0.007698, allocations: 127.1 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.00771, allocations: 15.97 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.007798, allocations: 79.62 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.0078, allocations: 0 / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007801, allocations: 0 / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.007806, allocations: 4 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.007992, allocations: 291.5 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.007995, allocations: 4.312 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.00802, allocations: 12 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.008032, allocations: 11.91 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008034, allocations: 4 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.008039, allocations: 8.031 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008041, allocations: 3.984 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008042, allocations: 0 / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.008132, allocations: 222.7 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.008146, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.008183, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.008201, allocations: 7.984 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.008208, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.008255, allocations: 69.69 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008255, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.008392, allocations: 27.94 kB / 300.3 MB, free: 14.51 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.001286/0.009678, allocations: 0.6137 MB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.009753, allocations: 48.77 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.009759, allocations: 4 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.009787, allocations: 32.7 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.009941, allocations: 39.91 kB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.01031, allocations: 246.6 kB / 301.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.137e-05/0.01036, allocations: 71.33 kB / 301.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.0104, allocations: 17.09 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.01045, allocations: 67.36 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01045, allocations: 0 / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003168/0.01362, allocations: 2.053 MB / 303.5 MB, free: 11.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.8205415727570653]