Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001692/0.001692, allocations: 111.8 kB / 17.12 MB, free: 5.949 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.002193/0.002193, allocations: 205 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.741/1.741, allocations: 207.6 MB / 230.5 MB, free: 4.012 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.352/0.352, allocations: 44.23 MB / 326.6 MB, free: 6.828 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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.002161/0.002161, allocations: 67.91 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2672, allocations: 61.01 MB / 0.511 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002586/0.2697, allocations: 1.707 MB / 0.5127 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2708, allocations: 0.8121 MB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.2708, allocations: 3.938 kB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.2711, allocations: 32.94 kB / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.2713, allocations: 52.33 kB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2715, allocations: 94.91 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.2716, allocations: 94.34 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.2717, allocations: 19.73 kB / 0.5138 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.2718, allocations: 45.55 kB / 0.5138 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.2718, allocations: 29.47 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2719, allocations: 7.953 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-05/0.2719, allocations: 34.41 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.272, allocations: 17.86 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.272, allocations: 40.14 kB / 0.5139 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.2722, allocations: 112.5 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2722, allocations: 1.906 kB / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2722, allocations: 0 / 0.514 GB, free: 10.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.2722, allocations: 0 / 0.514 GB, free: 10.83 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.0004083/0.2726, allocations: 413.7 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2727, allocations: 13.05 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.2727, allocations: 32.38 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.2727, allocations: 13.56 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2729, allocations: 203 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2729, allocations: 1.875 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.273, allocations: 5.375 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.2731, allocations: 57.95 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2731, allocations: 17.09 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2731, allocations: 0 / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2731, allocations: 5.625 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.2732, allocations: 18.2 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.2735, allocations: 285.1 kB / 0.5151 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2736, allocations: 56.06 kB / 0.5151 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.2737, allocations: 24.09 kB / 0.5151 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2737, allocations: 1.375 kB / 0.5151 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.2738, allocations: 64.7 kB / 0.5152 GB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2738, allocations: 1.5 kB / 0.5152 GB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005134/0.2743, allocations: 168.7 kB / 0.5154 GB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2744, allocations: 57.19 kB / 0.5154 GB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2745, allocations: 172 kB / 0.5156 GB, free: 9.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.2745, allocations: 25.7 kB / 0.5156 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2746, allocations: 105.6 kB / 0.5157 GB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.2746, allocations: 22.55 kB / 0.5157 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.2746, allocations: 28.58 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.2747, allocations: 323 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.2747, allocations: 13.62 kB / 0.5161 GB, free: 8.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.2748, allocations: 44.77 kB / 0.5161 GB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.2749, allocations: 58.45 kB / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2749, allocations: 0 / 0.5162 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001643/0.275, allocations: 106.8 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2751, allocations: 5.688 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2751, allocations: 1.375 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2751, allocations: 5.312 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.2752, allocations: 16.41 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2752, allocations: 1.375 kB / 0.5163 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.2752, allocations: 9.297 kB / 0.5163 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.2752, allocations: 2.75 kB / 0.5163 GB, free: 8.652 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.674e-05/0.2753, allocations: 129.7 kB / 0.5164 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.2753, allocations: 9.453 kB / 0.5164 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.2754, allocations: 16.83 kB / 0.5165 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2754, allocations: 1.375 kB / 0.5165 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2754, allocations: 4 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2754, allocations: 9.297 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.2757, allocations: 388.2 kB / 0.5168 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2757, allocations: 3.938 kB / 0.5169 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.2758, allocations: 12.25 kB / 0.5169 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.2758, allocations: 5.312 kB / 0.5169 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2758, allocations: 9.359 kB / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2758, allocations: 1.375 kB / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2758, allocations: 0 / 0.5169 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.276, allocations: 204.5 kB / 0.5171 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.276, allocations: 87.81 kB / 0.5172 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.276, allocations: 5.312 kB / 0.5172 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.2761, allocations: 2.75 kB / 0.5172 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.2761, allocations: 6.734 kB / 0.5172 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2761, allocations: 8.125 kB / 0.5172 GB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.2762, allocations: 135.5 kB / 0.5173 GB, free: 7.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2762, allocations: 0 / 0.5173 GB, free: 7.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.2765, allocations: 28.14 kB / 0.5173 GB, free: 7.695 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.00191/0.2784, allocations: 1.1 MB / 0.5184 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.2786, allocations: 55.81 kB / 0.5185 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2786, allocations: 1.281 kB / 0.5185 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/0.2786, allocations: 30.48 kB / 0.5185 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.279, allocations: 33.17 kB / 0.5185 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2804, allocations: 1.6 MB / 0.5201 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2806, allocations: 0.7056 MB / 0.5208 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2806, allocations: 17.17 kB / 0.5208 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.2807, allocations: 35.42 kB / 0.5208 GB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2807, allocations: 0 / 0.5208 GB, free: 4.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.3056, allocations: 3.322 MB / 0.5241 GB, free: 1.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.157, allocations: 2.688 kB / 0.5241 GB, free: 1.062 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.503841566009214]