Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.0008749/0.0008749, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001988, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007527/0.0007527, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009514/0.001704, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.946/0.946, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.175/1.121, allocations: 49.49 MB / 220.5 MB, free: 5.277 MB / 218.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.178/0.178, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01865/0.1967, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.CombiTable1D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.253e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.00177/0.001782, allocations: 1.623 MB / 268.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004488/0.002231, allocations: 347.2 kB / 269.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.002275, allocations: 4 kB / 269.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.002411, allocations: 35.77 kB / 269.2 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.002501, allocations: 35.8 kB / 269.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.002699, allocations: 91.73 kB / 269.3 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.002811, allocations: 51.84 kB / 269.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.002882, allocations: 12 kB / 269.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.002966, allocations: 51.83 kB / 269.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.003015, allocations: 7.938 kB / 269.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.00303, allocations: 4 kB / 269.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.003094, allocations: 35.92 kB / 269.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.003127, allocations: 11.94 kB / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.003148, allocations: 4 kB / 269.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003268, allocations: 75.67 kB / 269.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.003281, allocations: 0 / 269.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003282, allocations: 0 / 269.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.003294, allocations: 0 / 269.6 MB, free: 4.125 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003326/0.003626, allocations: 300.2 kB / 269.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.003653, allocations: 8.031 kB / 269.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.003679, allocations: 8.875 kB / 269.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003795, allocations: 141.6 kB / 270 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.003802, allocations: 384 / 270 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.003817, allocations: 4.375 kB / 270 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.003894, allocations: 50.95 kB / 270.1 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.003902, allocations: 8.172 kB / 270.1 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.003914, allocations: 4.125 kB / 270.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.003918, allocations: 0 / 270.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.003938, allocations: 8 kB / 270.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.004119, allocations: 163.1 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.004238, allocations: 33.39 kB / 270.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.00425, allocations: 4.859 kB / 270.3 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.004264, allocations: 0 / 270.3 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.004284, allocations: 42.62 kB / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.004285, allocations: 0 / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002372/0.004522, allocations: 89.42 kB / 270.4 MB, free: 3.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.004549, allocations: 55.41 kB / 270.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.004635, allocations: 148.3 kB / 270.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004646, allocations: 33.7 kB / 270.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.004676, allocations: 92.06 kB / 270.8 MB, free: 2.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.004697, allocations: 15.89 kB / 270.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.004721, allocations: 17.7 kB / 270.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.004798, allocations: 326.8 kB / 271.1 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.004807, allocations: 4 kB / 271.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.004817, allocations: 8 kB / 271.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.004844, allocations: 19.67 kB / 271.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004846, allocations: 0 / 271.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.521e-05/0.004901, allocations: 49.62 kB / 271.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.004911, allocations: 8 kB / 271.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004916, allocations: 3.984 kB / 271.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.004923, allocations: 0 / 271.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.004963, allocations: 15.92 kB / 271.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.004965, allocations: 4 kB / 271.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.004979, allocations: 0 / 271.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.004983, allocations: 0 / 271.2 MB, free: 2.328 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.183e-05/0.005035, allocations: 116.7 kB / 271.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.005049, allocations: 11.92 kB / 271.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/0.00512, allocations: 58.11 kB / 271.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005122, allocations: 4 kB / 271.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.005124, allocations: 4 kB / 271.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.005128, allocations: 3.984 kB / 271.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.005287, allocations: 211.1 kB / 271.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.005289, allocations: 3.938 kB / 271.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.005313, allocations: 11.98 kB / 271.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.005322, allocations: 7.953 kB / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005323, allocations: 0 / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-06/0.005326, allocations: 0 / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.005327, allocations: 0 / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.005328, allocations: 0 / 271.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.744e-05/0.005395, allocations: 159.4 kB / 271.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.005405, allocations: 0 / 271.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.724e-05/0.005432, allocations: 0 / 271.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.005456, allocations: 7.984 kB / 271.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005459, allocations: 0 / 271.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.566e-05/0.005484, allocations: 35.66 kB / 271.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005484, allocations: 3.938 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001215/0.005606, allocations: 19.94 kB / 271.9 MB, free: 1.625 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001298/0.006904, allocations: 0.5441 MB / 272.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.006987, allocations: 32.77 kB / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.006992, allocations: 0 / 272.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.00701, allocations: 12.86 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.007196, allocations: 23.92 kB / 272.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.007596, allocations: 170.6 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.007635, allocations: 67.33 kB / 272.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.00767, allocations: 12.25 kB / 272.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.00772, allocations: 59.36 kB / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007721, allocations: 0 / 272.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of Templates: time 0.002942/0.01066, allocations: 1.25 MB / 274 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.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.9765517124906182]