Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001829/0.001829, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002423/0.002423, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.549/1.549, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.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.2514/0.2514, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.00242/0.00242, allocations: 67.91 kB / 467.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1325, allocations: 61.05 MB / 0.5162 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003686/0.1362, allocations: 1.692 MB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1378, allocations: 0.7767 MB / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.1379, allocations: 0 / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1382, allocations: 43.77 kB / 0.5187 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1384, allocations: 59.7 kB / 0.5187 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1387, allocations: 91.75 kB / 0.5188 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1389, allocations: 87.77 kB / 0.5189 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.139, allocations: 20.19 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.139, allocations: 39.8 kB / 0.519 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.1391, allocations: 31.8 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1391, allocations: 7.938 kB / 0.519 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.1392, allocations: 43.97 kB / 0.519 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.1393, allocations: 19.92 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1393, allocations: 23.86 kB / 0.5191 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1396, allocations: 111.6 kB / 0.5192 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1396, allocations: 7.922 kB / 0.5192 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1396, allocations: 0 / 0.5192 GB, free: 4.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1396, allocations: 0 / 0.5192 GB, free: 4.047 MB / 398.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.0005668/0.1401, allocations: 337.6 kB / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1402, allocations: 12.03 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1402, allocations: 34.73 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1403, allocations: 12.84 kB / 0.5196 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1405, allocations: 150.3 kB / 0.5197 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1405, allocations: 384 / 0.5197 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1406, allocations: 11.94 kB / 0.5197 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1407, allocations: 53.67 kB / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1407, allocations: 0 / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1407, allocations: 0 / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1407, allocations: 0 / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.1408, allocations: 27.92 kB / 0.5198 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1412, allocations: 252 kB / 0.52 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1414, allocations: 54.67 kB / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.1414, allocations: 20.84 kB / 0.5201 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1414, allocations: 7.938 kB / 0.5201 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.1416, allocations: 71.34 kB / 0.5202 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1416, allocations: 0 / 0.5202 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005983/0.1422, allocations: 185.3 kB / 0.5204 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1422, allocations: 51.41 kB / 0.5204 GB, free: 2.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1425, allocations: 198 kB / 0.5206 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1425, allocations: 33.7 kB / 0.5206 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.1426, allocations: 100.1 kB / 0.5207 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1426, allocations: 23.8 kB / 0.5208 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1426, allocations: 29.7 kB / 0.5208 GB, free: 2.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1428, allocations: 322.8 kB / 0.5211 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.1429, allocations: 19.98 kB / 0.5211 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.1429, allocations: 37.7 kB / 0.5211 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1431, allocations: 61.66 kB / 0.5212 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1431, allocations: 4.312 kB / 0.5212 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.1433, allocations: 105.5 kB / 0.5213 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1433, allocations: 4 kB / 0.5213 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1433, allocations: 4.031 kB / 0.5213 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1433, allocations: 4.188 kB / 0.5213 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.1434, allocations: 23.98 kB / 0.5213 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1434, allocations: 3.938 kB / 0.5213 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1435, allocations: 7.938 kB / 0.5214 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1435, allocations: 0 / 0.5214 GB, free: 1.621 MB / 398.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 0.0001234/0.1436, allocations: 129.8 kB / 0.5215 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1436, allocations: 7.953 kB / 0.5215 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1439, allocations: 118.3 kB / 0.5216 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1439, allocations: 0 / 0.5216 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1439, allocations: 4 kB / 0.5216 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1439, allocations: 7.938 kB / 0.5216 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.1444, allocations: 366.4 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1444, allocations: 0 / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.1444, allocations: 11.94 kB / 0.522 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1444, allocations: 11.92 kB / 0.522 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1444, allocations: 0 / 0.522 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1445, allocations: 0 / 0.522 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1445, allocations: 4 kB / 0.522 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1447, allocations: 212.3 kB / 0.5222 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.1448, allocations: 15.89 kB / 0.5222 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1448, allocations: 11.92 kB / 0.5222 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1449, allocations: 4 kB / 0.5222 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1449, allocations: 7.984 kB / 0.5222 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1449, allocations: 4 kB / 0.5222 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.145, allocations: 143.2 kB / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 0 / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1453, allocations: 27.92 kB / 0.5224 GB, free: 476 kB / 398.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 (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.002426/0.1477, allocations: 1.133 MB / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1479, allocations: 55.92 kB / 0.5236 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1479, allocations: 0 / 0.5236 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.148, allocations: 36.03 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1484, allocations: 35.97 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1503, allocations: 1.646 MB / 0.5252 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.824e-05/0.1504, allocations: 96.17 kB / 0.5253 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.1505, allocations: 16.8 kB / 0.5253 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.1506, allocations: 35.42 kB / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1506, allocations: 112 / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.1833, allocations: 4.057 MB / 0.5293 GB, free: 9.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.56, allocations: 4.062 kB / 0.5293 GB, free: 9.145 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.033746375702322]