Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.000962/0.000962, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.0009611/0.0009611, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9791/0.9791, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1446/0.1446, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.643e-05, allocations: 2.312 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002253/0.00228, allocations: 1.744 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.003201, allocations: 0.7959 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.003275, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.003623, allocations: 47.7 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.00385, allocations: 55.75 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.004047, allocations: 75.72 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.004188, allocations: 107.6 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.00429, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.004369, allocations: 47.84 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.004446, allocations: 35.89 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.004464, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.004546, allocations: 43.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.004599, allocations: 19.91 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.004639, allocations: 19.88 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.00482, allocations: 99.59 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.004822, allocations: 4 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004823, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.004829, 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.0004518/0.00528, allocations: 439.9 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.005322, allocations: 8.031 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.005371, allocations: 16.89 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.005532, allocations: 152.4 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.005553, allocations: 4.375 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.00558, allocations: 8.328 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.005706, allocations: 58.94 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005716, allocations: 3.938 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005726, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.005734, allocations: 4 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.005773, allocations: 11.98 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.006062, allocations: 279.8 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.006165, allocations: 55.11 kB / 351.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.006195, allocations: 23.62 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.00621, allocations: 0 / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.589e-05/0.006306, allocations: 69.03 kB / 351.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.006307, allocations: 0 / 351.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.006699, allocations: 153.7 kB / 352.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.006722, allocations: 55.34 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.006816, allocations: 224.1 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.006824, allocations: 33.7 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.006859, allocations: 150.8 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.006883, allocations: 35.73 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.006914, allocations: 27.38 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.006964, allocations: 0.4962 MB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.006986, allocations: 11.98 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.007015, allocations: 31.38 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.007064, allocations: 59.34 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007065, allocations: 0 / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.565e-05/0.007161, allocations: 93.58 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007173, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007178, allocations: 4 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.007193, allocations: 0 / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.007268, allocations: 19.92 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.007275, allocations: 0 / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.007304, allocations: 4 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.007312, allocations: 4 kB / 353.3 MB, free: 3.531 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.131e-05/0.007373, allocations: 164.5 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.007389, allocations: 19.89 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.007531, allocations: 110.6 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007533, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007537, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.007541, allocations: 3.984 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.007774, allocations: 389 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.007776, allocations: 0 / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.0078, allocations: 8 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.007804, allocations: 4 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.007812, allocations: 4 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.007814, allocations: 0 / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.007816, allocations: 8.031 kB / 354 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.007925, allocations: 255.4 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.007934, allocations: 11.94 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.00795, allocations: 8 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.007989, allocations: 0 / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.008023, allocations: 15.86 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.008036, allocations: 4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.008087, allocations: 168 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008087, allocations: 0 / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.008254, allocations: 23.94 kB / 354.5 MB, free: 2.273 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.0008314/0.009085, allocations: 443.8 kB / 354.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.009195, allocations: 51.55 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009197, allocations: 4 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.009231, allocations: 31.67 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.0002307/0.009462, allocations: 32.19 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.009776, allocations: 217.5 kB / 355.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.009806, allocations: 71.34 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.009836, allocations: 16.47 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.009868, allocations: 20.5 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.009869, allocations: 0 / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of Templates: time 0.003635/0.0135, allocations: 1.848 MB / 357.2 MB, free: 15.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.480797433294356]