Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009051/0.0009051, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002188, 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.000894/0.000894, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002121, 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.06/1.06, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09674/1.156, allocations: 53.86 MB / 243.9 MB, free: 14.84 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.259/0.259, allocations: 34.89 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02764/0.2867, allocations: 13.24 MB / 292.8 MB, free: 6.375 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.191e-05, allocations: 4.094 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002325/0.002337, allocations: 1.815 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.006718, allocations: 1.021 MB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.00678, allocations: 3.938 kB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.006961, allocations: 55.69 kB / 297.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.007177, allocations: 103.4 kB / 297.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.007335, allocations: 83.56 kB / 297.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.007488, allocations: 107.6 kB / 297.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.564e-05/0.007553, allocations: 7.984 kB / 297.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.007683, allocations: 82.64 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.007754, allocations: 27.89 kB / 297.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.007769, allocations: 4 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.007854, allocations: 51.86 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.007901, allocations: 23.88 kB / 297.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.007933, allocations: 15.94 kB / 297.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.008096, allocations: 111.5 kB / 297.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.008107, allocations: 4 kB / 297.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008107, allocations: 7.938 kB / 297.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.008115, allocations: 0 / 297.7 MB, free: 1.457 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.0004029/0.008518, allocations: 360.8 kB / 298 MB, free: 1.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.008549, allocations: 15.44 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.01159, allocations: 12.92 kB / 298.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.01176, allocations: 162.4 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.01177, allocations: 384 / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.01179, allocations: 8.375 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.0119, allocations: 57.77 kB / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.01191, allocations: 192 / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.01192, allocations: 4.375 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.01192, allocations: 11.88 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.01195, allocations: 11.98 kB / 298.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.01216, allocations: 165.9 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.01226, allocations: 89.34 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.01228, allocations: 12.86 kB / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.01229, allocations: 0 / 298.6 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.992e-05/0.01239, allocations: 70.14 kB / 298.7 MB, free: 404 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.01239, allocations: 0 / 298.7 MB, free: 404 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000306/0.0127, allocations: 129.4 kB / 298.8 MB, free: 268 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.01273, allocations: 55.41 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01289, allocations: 212 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.0129, allocations: 25.7 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.01294, allocations: 100.1 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.01297, allocations: 23.84 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.013, allocations: 21.7 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.01309, allocations: 330.8 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.01311, allocations: 10.83 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.01313, allocations: 17.72 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.01318, allocations: 52.44 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01318, allocations: 0 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.951e-05/0.01327, allocations: 72.5 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01329, allocations: 11.94 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01329, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.0133, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.01337, allocations: 23.98 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01338, allocations: 3.938 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.01341, allocations: 4.375 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01342, allocations: 4.031 kB / 299.7 MB, free: 15.24 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.271e-05/0.01349, allocations: 120.6 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.01351, allocations: 15.92 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.01363, allocations: 84.28 kB / 299.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01363, allocations: 4 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.01363, allocations: 0 / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01364, allocations: 0 / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.01388, allocations: 299.4 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01389, allocations: 3.938 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.01392, allocations: 20.03 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.01393, allocations: 11.91 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.01394, allocations: 0 / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.01394, allocations: 4 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01395, allocations: 7.922 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01395, allocations: 0 / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.01406, allocations: 211.1 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01408, allocations: 4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.01414, allocations: 4 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.01417, allocations: 7.922 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01418, allocations: 8 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.108e-05/0.01425, allocations: 79.61 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01425, allocations: 0 / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003217/0.01747, allocations: 20 kB / 300.6 MB, free: 14.29 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.001701/0.01917, allocations: 0.6242 MB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.241e-05/0.01926, allocations: 44.77 kB / 301.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.01927, allocations: 7.938 kB / 301.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.01932, allocations: 29.06 kB / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01959, allocations: 188.4 kB / 301.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.02008, allocations: 264.7 kB / 301.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.02013, allocations: 75.19 kB / 301.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.02017, allocations: 12.97 kB / 301.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.02024, allocations: 67.38 kB / 301.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02024, allocations: 4 kB / 301.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of Templates: time 0.01005/0.03029, allocations: 2.069 MB / 304 MB, free: 11.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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: 3.015656956471503]