Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0008397/0.0008397, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0008782/0.0008782, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9339/0.9339, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 32.79 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.97e-05, allocations: 6.219 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003558/0.003587, allocations: 1.713 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.004955, allocations: 0.978 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.005059, allocations: 4 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.005365, allocations: 39.77 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.005695, allocations: 103.5 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.005912, allocations: 71.67 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.006097, allocations: 111.6 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.006204, allocations: 7.984 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.006298, allocations: 47.84 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.006371, allocations: 31.89 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.006387, allocations: 4 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.006475, allocations: 47.86 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.006532, allocations: 31.84 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.006569, allocations: 19.94 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.006761, allocations: 119.6 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.006765, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006767, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.006772, allocations: 0 / 443 MB, free: 0.8164 MB / 410.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.0004383/0.00721, allocations: 353.5 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.007249, allocations: 12.03 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.007275, allocations: 34.69 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.007312, allocations: 8.891 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.007551, allocations: 161.5 kB / 443.5 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.007562, allocations: 8.312 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.007581, allocations: 4.375 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.007714, allocations: 57.98 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.007726, allocations: 0 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.007735, allocations: 4 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.007739, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.007789, allocations: 23.97 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1679/0.1757, allocations: 261.2 kB / 443.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1759, allocations: 56.95 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.1759, allocations: 22.61 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1759, allocations: 6.047 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.176, allocations: 67.72 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.176, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000424/0.1765, allocations: 181.6 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.1765, allocations: 55.91 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1766, allocations: 212.6 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.1766, allocations: 25.7 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.1767, allocations: 110.1 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1767, allocations: 26.47 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1767, allocations: 20.94 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.232e-05/0.1767, allocations: 329.3 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.1768, allocations: 19.75 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.1768, allocations: 42.61 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.1769, allocations: 59.91 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1769, allocations: 0.5625 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001044/0.177, allocations: 113.1 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.177, allocations: 8.156 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.177, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.177, allocations: 2.625 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.1771, allocations: 20.48 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1771, allocations: 3.203 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.1771, allocations: 6.688 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1771, allocations: 2.719 kB / 445.3 MB, free: 45.57 MB / 410.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 5.402e-05/0.1772, allocations: 132 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1772, allocations: 17.28 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.1774, allocations: 119.9 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1774, allocations: 5.156 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1774, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1774, allocations: 5.984 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1776, allocations: 373.4 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1776, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.1776, allocations: 14.3 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1776, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1777, allocations: 6.344 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1777, allocations: 3.312 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1777, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1778, allocations: 222.1 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.1778, allocations: 10.62 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1778, allocations: 2.656 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.1778, allocations: 9.781 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.1779, allocations: 5.828 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1779, allocations: 2.688 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.502e-05/0.1779, allocations: 167.4 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1779, allocations: 0 / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.1781, allocations: 32.84 kB / 446.4 MB, free: 44.86 MB / 410.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.0009013/0.179, allocations: 1.129 MB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.1791, allocations: 60.23 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1791, allocations: 0 / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.1792, allocations: 31.81 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1794, allocations: 26.91 kB / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1804, allocations: 1.726 MB / 449.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.1805, allocations: 95.86 kB / 449.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.1805, allocations: 24.62 kB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.1806, allocations: 40.16 kB / 449.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1806, allocations: 0 / 449.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1946, allocations: 4.341 MB / 453.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.227, allocations: 4 kB / 453.8 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.353881979361176]