Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008001/0.0008001, allocations: 87.69 kB / 20.68 MB, free: 3.852 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.0008371/0.0008371, allocations: 173.9 kB / 23.95 MB, free: 0.5742 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.8823/0.8823, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.2362/0.2362, allocations: 32.78 MB / 293.5 MB, free: 1.258 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 439.7 MB, free: 4.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.719e-05, allocations: 10.78 kB / 439.7 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002032/0.002049, allocations: 1.713 MB / 441.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003195, allocations: 0.9819 MB / 442.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.00326, allocations: 4 kB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.003528, allocations: 43.77 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.003785, allocations: 103.5 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.00393, allocations: 79.66 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004076, allocations: 115.6 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.00416, allocations: 4 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.004234, allocations: 51.84 kB / 442.8 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.004297, allocations: 27.89 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.004311, allocations: 7.938 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.004384, allocations: 43.92 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.004437, allocations: 31.86 kB / 442.9 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.004471, allocations: 27.86 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.00464, allocations: 135.5 kB / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004642, allocations: 0 / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004643, allocations: 0 / 443 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.004647, allocations: 0 / 443 MB, free: 0.8086 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.0004147/0.005061, allocations: 373.2 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005097, allocations: 12.03 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.005125, allocations: 38.69 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.005157, allocations: 16.84 kB / 443.5 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.005338, allocations: 158.5 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.00535, allocations: 8.375 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.005365, allocations: 4.375 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.005467, allocations: 57.98 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005475, allocations: 4 kB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.005482, allocations: 0 / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005486, allocations: 0 / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.005536, allocations: 19.98 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1692/0.1748, allocations: 264.1 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1749, allocations: 57.31 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.1749, allocations: 22 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1749, allocations: 2.844 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.1751, allocations: 69.95 kB / 444.1 MB, free: 46.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1751, allocations: 0 / 444.1 MB, free: 46.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003874/0.1755, allocations: 196 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.1755, allocations: 52.22 kB / 444.4 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1756, allocations: 278.4 kB / 444.6 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.1756, allocations: 25.7 kB / 444.7 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1757, allocations: 115.3 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1757, allocations: 26.95 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.1757, allocations: 25.91 kB / 444.8 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.92e-05/0.1757, allocations: 331.6 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.1758, allocations: 16.84 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/0.1758, allocations: 43.84 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.1759, allocations: 59.69 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1759, allocations: 1.5 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.807e-05/0.176, allocations: 115.2 kB / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.176, allocations: 9.156 kB / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.176, allocations: 0 / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.176, allocations: 2.562 kB / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.1761, allocations: 15.81 kB / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1761, allocations: 5.672 kB / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.1761, allocations: 2.5 kB / 445.4 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1761, allocations: 6.281 kB / 445.4 MB, free: 45.51 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.562e-05/0.1762, allocations: 140.2 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1762, allocations: 24.67 kB / 445.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1763, allocations: 123.4 kB / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1763, allocations: 2.781 kB / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1763, allocations: 0 / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1763, allocations: 0 / 445.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1765, allocations: 387.5 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1765, allocations: 6.047 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1766, allocations: 8.844 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1766, allocations: 0 / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1766, allocations: 7.812 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1766, allocations: 3.625 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1766, allocations: 0 / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.1767, allocations: 224.8 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.1767, allocations: 14.12 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1767, allocations: 3 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.1768, allocations: 2.375 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.1768, allocations: 16.91 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1768, allocations: 2.969 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.816e-05/0.1769, allocations: 208 kB / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1769, allocations: 2.812 kB / 446.6 MB, free: 44.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.1771, allocations: 30.64 kB / 446.6 MB, free: 44.72 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.0008868/0.1779, allocations: 1.14 MB / 447.7 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1781, allocations: 61.69 kB / 447.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1781, allocations: 4.125 kB / 447.8 MB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.1781, allocations: 24.92 kB / 447.8 MB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1783, allocations: 31.53 kB / 447.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1793, allocations: 1.855 MB / 449.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.1794, allocations: 111.7 kB / 449.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.1794, allocations: 18.8 kB / 449.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.1795, allocations: 47.5 kB / 449.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1795, allocations: 0 / 449.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1937, allocations: 4.627 MB / 454.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.152, allocations: 0 / 454.5 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.23713560309261]