Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001163/0.001163, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.00282, 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.001085/0.001085, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002469, 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.016/1.016, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1121/1.128, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2746/0.2746, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04388/0.3185, allocations: 13.24 MB / 292.8 MB, free: 6.371 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 294.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.709e-05, allocations: 2.312 kB / 294.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002941/0.002958, allocations: 1.984 MB / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004717, allocations: 1.132 MB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.004813, allocations: 0 / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.005109, allocations: 163.3 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.005487, allocations: 199.1 kB / 297.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.005762, allocations: 127.4 kB / 297.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.006065, allocations: 247.2 kB / 298 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.00616, allocations: 26.59 kB / 298.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.006432, allocations: 192.2 kB / 298.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.006603, allocations: 111.7 kB / 298.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.00663, allocations: 8 kB / 298.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.006761, allocations: 59.92 kB / 298.4 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.006834, allocations: 43.86 kB / 298.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.00689, allocations: 39.81 kB / 298.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.007149, allocations: 179.2 kB / 298.7 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.007159, allocations: 4 kB / 298.7 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00716, allocations: 0 / 298.7 MB, free: 472 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.00717, allocations: 0 / 298.7 MB, free: 472 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006258/0.007795, allocations: 493.3 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.007832, allocations: 15.97 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.007897, allocations: 28.91 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.008151, allocations: 197.9 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.00817, allocations: 4.375 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.008201, allocations: 12.31 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.008378, allocations: 115.3 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.008389, allocations: 4.188 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.0084, allocations: 384 / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.008408, allocations: 7.938 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.008477, allocations: 29.62 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.008843, allocations: 300.8 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.009092, allocations: 178.7 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.009138, allocations: 29.83 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.00915, allocations: 8 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.009298, allocations: 104.3 kB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.0093, allocations: 0 / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008404/0.01014, allocations: 335 kB / 300.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.01018, allocations: 81.11 kB / 300.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.01044, allocations: 292.6 kB / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.01047, allocations: 29.7 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.01054, allocations: 125.2 kB / 301 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.0106, allocations: 67.42 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.01066, allocations: 45.69 kB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01078, allocations: 342.7 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.01083, allocations: 26.81 kB / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.98e-05/0.0109, allocations: 59.33 kB / 301.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.01103, allocations: 98.61 kB / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01103, allocations: 0 / 301.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001913/0.01122, allocations: 141 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01124, allocations: 4 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.01124, allocations: 0 / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.01126, allocations: 4 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.01142, allocations: 59.91 kB / 301.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01143, allocations: 0 / 301.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.01149, allocations: 4 kB / 301.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01151, allocations: 8 kB / 301.9 MB, free: 13.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.949e-05/0.01161, allocations: 140.5 kB / 302 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.01164, allocations: 20.05 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.01189, allocations: 171.2 kB / 302.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.0119, allocations: 4 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.0119, allocations: 0 / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0119, allocations: 0 / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.01244, allocations: 0.5562 MB / 302.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01245, allocations: 0 / 302.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.01255, allocations: 39.92 kB / 302.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.01258, allocations: 27.94 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.01259, allocations: 7.938 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.01261, allocations: 11.98 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.01261, allocations: 0 / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01262, allocations: 4 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.01289, allocations: 412.7 kB / 303.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.01293, allocations: 15.92 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.01307, allocations: 8 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.01312, allocations: 19.97 kB / 303.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.01314, allocations: 8 kB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.01326, allocations: 127.4 kB / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.01345, allocations: 51.94 kB / 303.5 MB, free: 11.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001473/0.01493, allocations: 0.6993 MB / 304.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01505, allocations: 100.7 kB / 304.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.01506, allocations: 4.188 kB / 304.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.01513, allocations: 80.62 kB / 304.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.0155, allocations: 363.6 kB / 304.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.01607, allocations: 472.2 kB / 305.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.618e-05/0.01613, allocations: 96.16 kB / 305.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.01619, allocations: 38.31 kB / 305.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.01629, allocations: 99.28 kB / 305.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01629, allocations: 0 / 305.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of Templates: time 0.004848/0.02114, allocations: 3.69 MB / 309.1 MB, free: 6.043 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.1470524109899998]