Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001232/0.001232, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002367/0.003599, 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.001368/0.001368, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001757/0.003125, 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.015/1.015, allocations: 177.4 MB / 189.9 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.105, allocations: 53.86 MB / 243.7 MB, free: 14.89 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.2872/0.2872, allocations: 34.86 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04339/0.3306, allocations: 13.24 MB / 292.6 MB, free: 6.445 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 294 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.081e-05, allocations: 2.969 kB / 294 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002964/0.002985, allocations: 1.81 MB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004651, allocations: 1.017 MB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.816e-05/0.00474, allocations: 4 kB / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.004981, allocations: 55.69 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.005288, allocations: 95.53 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.005518, allocations: 87.53 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005709, allocations: 99.7 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.005789, allocations: 8 kB / 297.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.005945, allocations: 83.73 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/0.006025, allocations: 27.92 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.006041, allocations: 4 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006143, allocations: 47.91 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.006196, allocations: 31.86 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.006234, allocations: 15.94 kB / 297.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.006435, allocations: 111.5 kB / 297.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.006449, allocations: 0 / 297.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00645, allocations: 0 / 297.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.006463, allocations: 3.938 kB / 297.4 MB, free: 1.566 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.0004759/0.006939, allocations: 364.9 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.006974, allocations: 12.92 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.007014, allocations: 12.92 kB / 297.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.007213, allocations: 158.4 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.007232, allocations: 4.375 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.007249, allocations: 384 / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.007428, allocations: 61.77 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007439, allocations: 4.188 kB / 298.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.007448, allocations: 8.312 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.007453, allocations: 3.938 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.007489, allocations: 11.92 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.007731, allocations: 170 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.007834, allocations: 85.28 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.007857, allocations: 12.86 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.007867, allocations: 0 / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.007982, allocations: 70.14 kB / 298.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.007984, allocations: 3.984 kB / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003285/0.008313, allocations: 117.4 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.008345, allocations: 51.41 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.008517, allocations: 224 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.008532, allocations: 25.7 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.008587, allocations: 100.1 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.008616, allocations: 19.86 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.008658, allocations: 25.69 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.008759, allocations: 326.8 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.00878, allocations: 10.83 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.00881, allocations: 22.64 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.008867, allocations: 44.53 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008868, allocations: 0 / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001105/0.008979, allocations: 84.41 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.008993, allocations: 11.94 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.008997, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.009005, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.009086, allocations: 16 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009089, allocations: 0 / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.009131, allocations: 7.984 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.009137, allocations: 0 / 299.5 MB, free: 15.36 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.434e-05/0.009221, allocations: 120.6 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.009244, allocations: 19.95 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.009372, allocations: 75.64 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009374, allocations: 0 / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.009378, allocations: 7.984 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.009382, allocations: 384 / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.009667, allocations: 295.4 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.009672, allocations: 11.88 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.009716, allocations: 15.98 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.009733, allocations: 11.91 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009736, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.009744, allocations: 8.031 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.009747, allocations: 3.938 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.009749, allocations: 0 / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.009896, allocations: 228.8 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.009916, allocations: 0 / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.009988, allocations: 4 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.01002, allocations: 11.92 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01003, allocations: 4 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.01013, allocations: 75.61 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01013, allocations: 0 / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.01037, allocations: 20 kB / 300.4 MB, free: 14.39 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.0021/0.01247, allocations: 0.6128 MB / 301 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01258, allocations: 44.77 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.01259, allocations: 4 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.01263, allocations: 32.7 kB / 301.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01289, allocations: 43.84 kB / 301.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.01352, allocations: 268.6 kB / 301.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01358, allocations: 75.19 kB / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.01363, allocations: 16.97 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.01371, allocations: 67.5 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01371, allocations: 0 / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004296/0.01801, allocations: 2.079 MB / 303.6 MB, free: 11.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.9872682448476553]