Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.000807/0.000807, allocations: 79.7 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.0008541/0.0008541, allocations: 170 kB / 23.94 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.8909/0.8909, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2367/0.2367, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 3.938 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.483e-05, allocations: 4.531 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002542/0.002566, allocations: 1.708 MB / 441.4 MB, free: 2.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003782, allocations: 0.9819 MB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.003865, allocations: 0 / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.004165, allocations: 39.77 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.004461, allocations: 103.5 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.004652, allocations: 75.67 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.004807, allocations: 107.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.0049, allocations: 7.984 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.004986, allocations: 51.83 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.005116, allocations: 27.91 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.005132, allocations: 4 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.484e-05/0.005217, allocations: 47.86 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.005276, allocations: 31.84 kB / 442.9 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.005313, allocations: 15.94 kB / 442.9 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.005496, allocations: 115.6 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005498, allocations: 4 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005499, allocations: 0 / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.005503, allocations: 0 / 443 MB, free: 0.8398 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.0004347/0.005938, allocations: 349.5 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.005977, allocations: 12.03 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.006015, allocations: 38.67 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.006046, allocations: 8.891 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.006245, allocations: 154.2 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.006256, allocations: 4.312 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.006275, allocations: 8.359 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.006392, allocations: 61.98 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.006401, allocations: 0 / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.006411, allocations: 4 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.006416, allocations: 0 / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.162e-05/0.006467, allocations: 19.98 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2026/0.209, allocations: 249.2 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.2092, allocations: 56.78 kB / 443.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.2093, allocations: 24.44 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2093, allocations: 3.062 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.2094, allocations: 70.45 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.2094, allocations: 0 / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004537/0.2099, allocations: 186.9 kB / 444.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.2099, allocations: 56.88 kB / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.21, allocations: 202.7 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.21, allocations: 29.95 kB / 444.5 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.21, allocations: 105.8 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2101, allocations: 27.77 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.2101, allocations: 22.41 kB / 444.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.2101, allocations: 323.2 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-05/0.2102, allocations: 20.81 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.2102, allocations: 38.64 kB / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.585e-05/0.2103, allocations: 62.84 kB / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2103, allocations: 0.8125 kB / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001019/0.2104, allocations: 112.4 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2104, allocations: 5.688 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2104, allocations: 2.344 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2104, allocations: 1.531 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.2105, allocations: 20.7 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2105, allocations: 3.203 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.2105, allocations: 2.969 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2105, allocations: 2.844 kB / 445.2 MB, free: 45.52 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.321e-05/0.2106, allocations: 136.5 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.2106, allocations: 13.61 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.2107, allocations: 122.2 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2107, allocations: 0 / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2107, allocations: 2.875 kB / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2107, allocations: 0 / 445.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.211, allocations: 376.6 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.211, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.211, allocations: 8.5 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.211, allocations: 9.625 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.211, allocations: 2.344 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.211, allocations: 6.141 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.211, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2111, allocations: 215.4 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.2111, allocations: 13.72 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2112, allocations: 4.062 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.2112, allocations: 2.875 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.2112, allocations: 6.141 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2112, allocations: 2.594 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.2113, allocations: 156.5 kB / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2113, allocations: 0 / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.2115, allocations: 31.61 kB / 446.3 MB, free: 44.83 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.0008556/0.2123, allocations: 1.143 MB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.2124, allocations: 62.16 kB / 447.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2124, allocations: 6.938 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.2125, allocations: 25.09 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2127, allocations: 26.34 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.2136, allocations: 1.674 MB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.357e-05/0.2136, allocations: 93.28 kB / 449.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.382e-05/0.2137, allocations: 23.75 kB / 449.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.2137, allocations: 35.61 kB / 449.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2137, allocations: 2.516 kB / 449.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.2283, allocations: 4.295 MB / 453.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/7.082, allocations: 3.984 kB / 453.7 MB, free: 41.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.14393278118223]