Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001322/0.001322, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002017/0.003339, 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.001129/0.001129, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002748, 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 1.065/1.065, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.096/1.161, allocations: 53.87 MB / 243.7 MB, free: 14.92 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.2481/0.2481, allocations: 34.86 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02356/0.2716, allocations: 13.23 MB / 292.6 MB, free: 6.492 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 293.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.925e-05, allocations: 4.281 kB / 294 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003784/0.003813, allocations: 1.802 MB / 295.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.005637, allocations: 1.029 MB / 296.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.005751, allocations: 3.938 kB / 296.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.006051, allocations: 39.77 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.006407, allocations: 95.53 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.00668, allocations: 79.61 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.006908, allocations: 111.6 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.00702, allocations: 4 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.007209, allocations: 75.83 kB / 297.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.007316, allocations: 31.89 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.007339, allocations: 4 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.007457, allocations: 43.92 kB / 297.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.007518, allocations: 19.94 kB / 297.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.007565, allocations: 15.94 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.00779, allocations: 107.5 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-05/0.007809, allocations: 0 / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007811, allocations: 0 / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.007829, allocations: 0 / 297.4 MB, free: 1.66 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.000695/0.008524, allocations: 341 kB / 297.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.008571, allocations: 12.91 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.008609, allocations: 4.938 kB / 297.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.008836, allocations: 146.1 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.008858, allocations: 12.31 kB / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.008886, allocations: 12.3 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.009026, allocations: 61.77 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.009038, allocations: 4.172 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.009047, allocations: 4.375 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.009054, allocations: 3.938 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.009088, allocations: 8 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.009416, allocations: 169.8 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.009561, allocations: 93.28 kB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.00959, allocations: 16.84 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.009608, allocations: 4 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.009736, allocations: 54.22 kB / 298.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.009738, allocations: 4 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003514/0.01009, allocations: 109.5 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.01013, allocations: 59.41 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.01027, allocations: 176.3 kB / 298.7 MB, free: 264 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.01028, allocations: 25.7 kB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.01032, allocations: 100.1 kB / 298.8 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.01036, allocations: 35.73 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.0104, allocations: 21.7 kB / 298.8 MB, free: 64 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01052, allocations: 326.8 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.01055, allocations: 10.83 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.01058, allocations: 25.64 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.407e-05/0.01064, allocations: 40.59 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01064, allocations: 0 / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.01075, allocations: 72.42 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.01077, allocations: 7.938 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.01077, allocations: 4.031 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01079, allocations: 7.984 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.01088, allocations: 16 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01088, allocations: 4 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.01092, allocations: 0 / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.01093, allocations: 7.984 kB / 299.4 MB, free: 15.52 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 8.817e-05/0.01102, allocations: 119.1 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.01103, allocations: 11.94 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.01116, allocations: 76.06 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01117, allocations: 7.938 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01117, allocations: 7.938 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01117, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.01145, allocations: 291.5 kB / 299.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.01145, allocations: 4.312 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.01149, allocations: 8 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01151, allocations: 15.91 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01151, allocations: 4 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01152, allocations: 8 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01152, allocations: 0 / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01152, allocations: 3.984 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.01165, allocations: 219 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.01167, allocations: 4 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.01173, allocations: 4 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.01176, allocations: 3.984 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.01177, allocations: 4 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.746e-05/0.01183, allocations: 55.62 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01183, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.01204, allocations: 27.92 kB / 300.2 MB, free: 14.59 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.00153/0.01357, allocations: 0.6167 MB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.01367, allocations: 44.77 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.01368, allocations: 0 / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.97e-05/0.01371, allocations: 32.89 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.0139, allocations: 39.92 kB / 301 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.01443, allocations: 243.9 kB / 301.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.01477, allocations: 63.34 kB / 301.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.01481, allocations: 16.97 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.01487, allocations: 71.36 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01487, allocations: 0 / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Templates: time 0.003374/0.01824, allocations: 2.063 MB / 303.4 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.0039982683956623]