Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.0007694/0.0007694, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001886, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007631/0.0007631, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001776, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.096/1.096, allocations: 177.5 MB / 190 MB, free: 4.75 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.198, allocations: 53.87 MB / 243.9 MB, free: 14.81 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.2823/0.2823, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03069/0.313, allocations: 13.24 MB / 292.8 MB, free: 6.344 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 294.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.263e-05, allocations: 3.516 kB / 294.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004077/0.00411, allocations: 1.816 MB / 296 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.006048, allocations: 1.021 MB / 297 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.00615, allocations: 0 / 297 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.006401, allocations: 39.66 kB / 297.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.006697, allocations: 95.41 kB / 297.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.006962, allocations: 91.53 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.007177, allocations: 95.72 kB / 297.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.007276, allocations: 11.98 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.007448, allocations: 83.75 kB / 297.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.007537, allocations: 27.91 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.007553, allocations: 4 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.007669, allocations: 43.92 kB / 297.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.00772, allocations: 15.88 kB / 297.5 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.007757, allocations: 15.94 kB / 297.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.007971, allocations: 99.59 kB / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.007984, allocations: 0 / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.007986, allocations: 0 / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.007997, allocations: 0 / 297.6 MB, free: 1.484 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.0005259/0.008522, allocations: 325.1 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.008564, allocations: 15.44 kB / 298 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.008608, allocations: 4.938 kB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.008808, allocations: 145.6 kB / 298.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.008831, allocations: 12.31 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.008854, allocations: 384 / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.008986, allocations: 61.77 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.008997, allocations: 4.188 kB / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.009006, allocations: 384 / 298.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.009014, allocations: 7.875 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.009046, allocations: 11.98 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.009309, allocations: 166 kB / 298.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.009427, allocations: 89.22 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.009456, allocations: 16.83 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.009471, allocations: 4 kB / 298.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.009591, allocations: 58.22 kB / 298.5 MB, free: 496 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.009592, allocations: 4 kB / 298.5 MB, free: 492 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003735/0.009966, allocations: 121.4 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.01, allocations: 55.41 kB / 298.7 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01014, allocations: 160.3 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01016, allocations: 25.7 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.01023, allocations: 96.2 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.01026, allocations: 23.84 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.0103, allocations: 21.7 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01041, allocations: 322.8 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.01043, allocations: 14.81 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.01047, allocations: 22.5 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.01053, allocations: 48.5 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01053, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001149/0.01064, allocations: 72.5 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.01066, allocations: 7.938 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01067, allocations: 0 / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.01068, allocations: 0 / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.01077, allocations: 20 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01078, allocations: 3.984 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.01081, allocations: 4.375 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.01082, allocations: 0 / 299.5 MB, free: 15.4 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.906e-05/0.01091, allocations: 128.6 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.01093, allocations: 15.92 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.01107, allocations: 74.39 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.01107, allocations: 4 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01107, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01108, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.01138, allocations: 295.4 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.01138, allocations: 3.938 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.01144, allocations: 11.94 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.01145, allocations: 7.953 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01146, allocations: 8.031 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.01147, allocations: 4 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01147, allocations: 3.984 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01147, allocations: 0 / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.01166, allocations: 222.7 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.01169, allocations: 4 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.01175, allocations: 4 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.01179, allocations: 3.984 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.0118, allocations: 4 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.01186, allocations: 44.95 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01186, allocations: 4 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01208, allocations: 24 kB / 300.4 MB, free: 14.49 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.001948/0.01403, allocations: 0.6191 MB / 301 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.01417, allocations: 44.66 kB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.01418, allocations: 4 kB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01429, allocations: 29.06 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.01463, allocations: 188.5 kB / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.01522, allocations: 220.1 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.01527, allocations: 67.34 kB / 301.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.286e-05/0.01532, allocations: 17.16 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.01539, allocations: 71.36 kB / 301.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01539, allocations: 0 / 301.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004296/0.01968, allocations: 2.03 MB / 303.7 MB, free: 11.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9053980195894837]