Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001913/0.001913, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002404/0.002404, allocations: 204.3 kB / 20.74 MB, free: 2.316 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2186/0.2186, allocations: 44.91 MB / 355.1 MB, free: 12.35 MB / 286.1 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001962/0.001962, allocations: 67.89 kB / 499.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1206, allocations: 65.43 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003111/0.1237, allocations: 1.729 MB / 0.5535 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1254, allocations: 1.034 MB / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.1255, allocations: 0 / 0.5545 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1257, allocations: 47.72 kB / 0.5546 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.126, allocations: 103.5 kB / 0.5547 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1262, allocations: 71.73 kB / 0.5547 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1264, allocations: 107.7 kB / 0.5549 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.1265, allocations: 8.281 kB / 0.5549 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.1266, allocations: 55.7 kB / 0.5549 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.1267, allocations: 27.86 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1267, allocations: 4 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-05/0.1268, allocations: 47.92 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1268, allocations: 23.91 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.1269, allocations: 35.73 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1271, allocations: 127.4 kB / 0.5552 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1271, allocations: 0 / 0.5552 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1271, allocations: 4 kB / 0.5552 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1271, allocations: 0 / 0.5552 GB, free: 6.641 MB / 414.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.0005883/0.1277, allocations: 426.6 kB / 0.5556 GB, free: 6.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1277, allocations: 12.03 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.1278, allocations: 34.69 kB / 0.5556 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1278, allocations: 12.88 kB / 0.5556 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1282, allocations: 224.1 kB / 0.5558 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1282, allocations: 4.375 kB / 0.5559 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1283, allocations: 7.938 kB / 0.5559 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1284, allocations: 57.67 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1284, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1284, allocations: 4 kB / 0.5559 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1284, allocations: 0 / 0.5559 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.1285, allocations: 15.98 kB / 0.5559 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1289, allocations: 300.7 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1291, allocations: 58.67 kB / 0.5563 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.1292, allocations: 16.86 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1292, allocations: 0 / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1294, allocations: 71.31 kB / 0.5564 GB, free: 5.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1294, allocations: 0 / 0.5564 GB, free: 5.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005966/0.13, allocations: 181.3 kB / 0.5565 GB, free: 5.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.13, allocations: 55.41 kB / 0.5566 GB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1302, allocations: 214 kB / 0.5568 GB, free: 4.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1303, allocations: 29.7 kB / 0.5568 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.1303, allocations: 104.1 kB / 0.5569 GB, free: 4.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1304, allocations: 23.8 kB / 0.5569 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1304, allocations: 25.7 kB / 0.557 GB, free: 4.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1306, allocations: 322.8 kB / 0.5573 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.1306, allocations: 20 kB / 0.5573 GB, free: 4.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.1307, allocations: 37.7 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1308, allocations: 61.64 kB / 0.5574 GB, free: 4.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1308, allocations: 0 / 0.5574 GB, free: 4.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.131, allocations: 101.6 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.131, allocations: 4 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.131, allocations: 4.219 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1311, allocations: 4 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.1311, allocations: 19.88 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1311, allocations: 0 / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.1312, allocations: 15.92 kB / 0.5575 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1312, allocations: 0 / 0.5575 GB, free: 3.977 MB / 414.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.0001076/0.1313, allocations: 124 kB / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1313, allocations: 19.84 kB / 0.5577 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.1314, allocations: 25.38 kB / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1314, allocations: 4 kB / 0.5577 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1314, allocations: 384 / 0.5577 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1314, allocations: 3.938 kB / 0.5577 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.1319, allocations: 399.3 kB / 0.5581 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1319, allocations: 4 kB / 0.5581 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1319, allocations: 4 kB / 0.5581 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1319, allocations: 7.938 kB / 0.5581 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1319, allocations: 0 / 0.5581 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1319, allocations: 7.969 kB / 0.5581 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1319, allocations: 4 kB / 0.5581 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1322, allocations: 208.3 kB / 0.5583 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1322, allocations: 81.06 kB / 0.5584 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1323, allocations: 7.938 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1323, allocations: 4 kB / 0.5584 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1324, allocations: 11.98 kB / 0.5584 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1324, allocations: 4 kB / 0.5584 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.1325, allocations: 160.3 kB / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1325, allocations: 0 / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1328, allocations: 23.94 kB / 0.5586 GB, free: 2.785 MB / 414.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.002199/0.135, allocations: 1.105 MB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.1352, allocations: 51.92 kB / 0.5597 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1352, allocations: 4.062 kB / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.1353, allocations: 27.92 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1356, allocations: 38.23 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1376, allocations: 1.69 MB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1379, allocations: 0.7119 MB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.138, allocations: 20.78 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.138, allocations: 35.42 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.138, allocations: 4 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1613, allocations: 3.522 MB / 0.5656 GB, free: 11.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.146, allocations: 7.375 kB / 0.5656 GB, free: 11.68 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_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_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.285594378132373]