Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.2 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009912/0.0009912, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9607/0.9607, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1329/0.1329, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 3.938 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.913e-05, allocations: 12.22 kB / 347.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003287/0.003326, allocations: 1.726 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004639, allocations: 0.8037 MB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.004724, allocations: 0 / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.005115, allocations: 35.77 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.005403, allocations: 59.69 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.005659, allocations: 87.7 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.005842, allocations: 99.69 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005957, allocations: 8.219 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.006056, allocations: 55.78 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.006151, allocations: 19.91 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.006175, allocations: 4 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.006283, allocations: 47.91 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.006356, allocations: 23.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.006411, allocations: 15.94 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.006655, allocations: 95.59 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006659, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006659, allocations: 4 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.006666, allocations: 0 / 350.8 MB, free: 6.254 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.0005713/0.007237, allocations: 447.9 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.007285, allocations: 8.031 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.007353, allocations: 12.89 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.00757, allocations: 148.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.007598, allocations: 4.375 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.007627, allocations: 4.328 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.007805, allocations: 62.94 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.007822, allocations: 3.938 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.007841, allocations: 4 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.007851, allocations: 0 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.007903, allocations: 19.92 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.008239, allocations: 279.8 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.008372, allocations: 55.16 kB / 351.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.00841, allocations: 19.62 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.008425, allocations: 3.984 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.008546, allocations: 68.98 kB / 351.9 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.008548, allocations: 0 / 351.9 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004615/0.009009, allocations: 165.6 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.009041, allocations: 55.34 kB / 352.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.009183, allocations: 220.1 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.009199, allocations: 25.7 kB / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.009255, allocations: 154.9 kB / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.009296, allocations: 35.73 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.009339, allocations: 23.38 kB / 352.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.009413, allocations: 0.4962 MB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.009445, allocations: 15.98 kB / 353.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.009486, allocations: 31.38 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.009558, allocations: 63.3 kB / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009559, allocations: 0 / 353.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001238/0.009683, allocations: 85.58 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.009697, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.009702, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.009717, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.009805, allocations: 19.98 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.00981, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.009849, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.009857, allocations: 8.031 kB / 353.3 MB, free: 3.523 MB / 282.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 6.578e-05/0.009923, allocations: 168.5 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.009944, allocations: 19.84 kB / 353.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.01013, allocations: 98.59 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01013, allocations: 4 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.01014, allocations: 3.984 kB / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01014, allocations: 0 / 353.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.01046, allocations: 389 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01046, allocations: 0 / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.01049, allocations: 15.97 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.0105, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01051, allocations: 4 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01051, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01051, allocations: 0 / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.01068, allocations: 263.4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.01069, allocations: 11.94 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.01072, allocations: 0 / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.01079, allocations: 4 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.01083, allocations: 15.92 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.01085, allocations: 4 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.01093, allocations: 168 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01093, allocations: 0 / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.0112, allocations: 27.94 kB / 354.5 MB, free: 2.266 MB / 282.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.001178/0.01238, allocations: 437.7 kB / 354.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01253, allocations: 55.53 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01253, allocations: 0 / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.176e-05/0.01258, allocations: 31.61 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.01293, allocations: 43.28 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.01337, allocations: 217.7 kB / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.01342, allocations: 67.34 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.01347, allocations: 16.47 kB / 355.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.01351, allocations: 16.5 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01351, allocations: 0 / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of Templates: time 0.005572/0.01908, allocations: 1.98 MB / 357.4 MB, free: 15.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.247328040190041]