Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.001458/0.001458, allocations: 119.6 kB / 17.13 MB, free: 5.941 MB / 14.72 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.001532/0.001532, allocations: 208.3 kB / 20.09 MB, free: 3 MB / 14.72 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 1.51/1.51, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] 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.3162/0.3162, allocations: 44.23 MB / 326.6 MB, free: 6.82 MB / 254.1 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 75.91 kB / 462.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2571, allocations: 61 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002683/0.2598, allocations: 1.713 MB / 0.5127 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2608, allocations: 0.8141 MB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.2609, allocations: 0 / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.2612, allocations: 42.22 kB / 0.5135 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.2614, allocations: 58.08 kB / 0.5136 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2616, allocations: 86.23 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.2617, allocations: 97.31 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.2618, allocations: 16.42 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.2619, allocations: 40.23 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.262, allocations: 37.64 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.262, allocations: 4.469 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.2621, allocations: 34.88 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.2621, allocations: 23.2 kB / 0.5139 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.2622, allocations: 35 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2623, allocations: 114.6 kB / 0.514 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2623, allocations: 4 kB / 0.5141 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2623, allocations: 0 / 0.5141 GB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2623, allocations: 0 / 0.5141 GB, free: 10.9 MB / 382.1 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.0004206/0.2628, allocations: 413.5 kB / 0.5144 GB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2628, allocations: 12.2 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.2628, allocations: 35.92 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.2628, allocations: 12.91 kB / 0.5145 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2631, allocations: 215.8 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.2631, allocations: 5.938 kB / 0.5147 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2631, allocations: 5.625 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.2632, allocations: 54.89 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2632, allocations: 0 / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2632, allocations: 0 / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2632, allocations: 1.375 kB / 0.5148 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.2633, allocations: 17.61 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.2636, allocations: 286.8 kB / 0.5151 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2637, allocations: 68.53 kB / 0.5151 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.2638, allocations: 15.73 kB / 0.5151 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2638, allocations: 1.375 kB / 0.5151 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.2639, allocations: 73.03 kB / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2639, allocations: 0 / 0.5152 GB, free: 9.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000488/0.2644, allocations: 178.4 kB / 0.5154 GB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.2644, allocations: 56.72 kB / 0.5154 GB, free: 9.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2646, allocations: 190.1 kB / 0.5156 GB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.2646, allocations: 27.14 kB / 0.5156 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.2646, allocations: 103.8 kB / 0.5157 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2646, allocations: 20.27 kB / 0.5158 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2647, allocations: 24.05 kB / 0.5158 GB, free: 9.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.2647, allocations: 330.8 kB / 0.5161 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.2648, allocations: 18.66 kB / 0.5161 GB, free: 8.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.2648, allocations: 39.33 kB / 0.5162 GB, free: 8.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2649, allocations: 58.83 kB / 0.5162 GB, free: 8.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2649, allocations: 0 / 0.5162 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001625/0.2651, allocations: 103.7 kB / 0.5163 GB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2651, allocations: 9.875 kB / 0.5163 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2651, allocations: 3.984 kB / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2651, allocations: 1.062 kB / 0.5163 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.2652, allocations: 17.25 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2652, allocations: 1.156 kB / 0.5163 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.2653, allocations: 6.156 kB / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2653, allocations: 6.312 kB / 0.5164 GB, free: 8.707 MB / 382.1 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.135e-05/0.2653, allocations: 122.7 kB / 0.5165 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.2654, allocations: 9.734 kB / 0.5165 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.2654, allocations: 21.23 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2654, allocations: 1.312 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2654, allocations: 0 / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2654, allocations: 5.406 kB / 0.5165 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.2657, allocations: 397.8 kB / 0.5169 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2657, allocations: 0 / 0.5169 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.2658, allocations: 6.969 kB / 0.5169 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2658, allocations: 5.281 kB / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2658, allocations: 9.703 kB / 0.5169 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2658, allocations: 1.312 kB / 0.5169 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2658, allocations: 9.219 kB / 0.5169 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.266, allocations: 196.4 kB / 0.5171 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.266, allocations: 87.86 kB / 0.5172 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.266, allocations: 9.281 kB / 0.5172 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.2661, allocations: 9.391 kB / 0.5172 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.2661, allocations: 4.25 kB / 0.5172 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2661, allocations: 2.781 kB / 0.5172 GB, free: 7.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.2662, allocations: 146.1 kB / 0.5174 GB, free: 7.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2662, allocations: 0 / 0.5174 GB, free: 7.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.2665, allocations: 19.97 kB / 0.5174 GB, free: 7.758 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001854/0.2683, allocations: 1.115 MB / 0.5185 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2685, allocations: 59.53 kB / 0.5185 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2685, allocations: 1.375 kB / 0.5185 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.2686, allocations: 23.11 kB / 0.5185 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.2689, allocations: 32.25 kB / 0.5186 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2702, allocations: 1.626 MB / 0.5202 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2703, allocations: 0.7002 MB / 0.5208 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.2704, allocations: 17.12 kB / 0.5209 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.2704, allocations: 39.36 kB / 0.5209 GB, free: 4.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2704, allocations: 0 / 0.5209 GB, free: 4.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.2952, allocations: 3.394 MB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.451, allocations: 7.906 kB / 0.5242 GB, free: 0.8984 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.410497456992744]