Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001411/0.001411, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001536/0.001536, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2185/0.2185, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001937/0.001937, allocations: 71.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1272, allocations: 65.43 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003433/0.1306, allocations: 1.606 MB / 0.5533 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1328, allocations: 1.171 MB / 0.5545 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.1329, allocations: 4 kB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1331, allocations: 27.84 kB / 0.5545 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1334, allocations: 79.62 kB / 0.5546 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.1337, allocations: 107.7 kB / 0.5547 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1339, allocations: 75.75 kB / 0.5548 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.134, allocations: 11.94 kB / 0.5548 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.1341, allocations: 31.86 kB / 0.5548 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1342, allocations: 35.83 kB / 0.5548 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1342, allocations: 4 kB / 0.5548 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.1344, allocations: 99.88 kB / 0.5549 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1344, allocations: 11.92 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1345, allocations: 27.86 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1347, allocations: 143.5 kB / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1347, allocations: 0 / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1347, allocations: 0 / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1347, allocations: 0 / 0.5551 GB, free: 6.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005497/0.1353, allocations: 406.8 kB / 0.5555 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1353, allocations: 8.031 kB / 0.5555 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1354, allocations: 38.75 kB / 0.5556 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1354, allocations: 8.891 kB / 0.5556 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1356, allocations: 196.2 kB / 0.5557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1356, allocations: 384 / 0.5557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1357, allocations: 4.375 kB / 0.5558 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1358, allocations: 75.27 kB / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1358, allocations: 0 / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1359, allocations: 4 kB / 0.5558 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1359, allocations: 0 / 0.5558 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.136, allocations: 23.98 kB / 0.5559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1364, allocations: 284.9 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1366, allocations: 46.5 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.1367, allocations: 20.94 kB / 0.5562 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1367, allocations: 3.984 kB / 0.5562 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1367, allocations: 30.56 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1367, allocations: 0 / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005909/0.1373, allocations: 157.3 kB / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.1374, allocations: 81.11 kB / 0.5564 GB, free: 5.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1375, allocations: 148.2 kB / 0.5566 GB, free: 4.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1376, allocations: 25.7 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1376, allocations: 92.14 kB / 0.5567 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1376, allocations: 15.84 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1377, allocations: 17.72 kB / 0.5567 GB, free: 4.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1378, allocations: 326.8 kB / 0.557 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.1379, allocations: 27.98 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.138, allocations: 33.7 kB / 0.5571 GB, free: 4.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1382, allocations: 52.77 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1382, allocations: 0 / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002083/0.1384, allocations: 89.61 kB / 0.5572 GB, free: 4.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1384, allocations: 8.031 kB / 0.5572 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1384, allocations: 3.938 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1384, allocations: 0 / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.1385, allocations: 19.92 kB / 0.5573 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1385, allocations: 0 / 0.5573 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.1385, allocations: 11.88 kB / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1385, allocations: 0 / 0.5573 GB, free: 4.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.916e-05/0.1386, allocations: 124 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1387, allocations: 11.95 kB / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.1389, allocations: 94.22 kB / 0.5575 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1389, allocations: 3.984 kB / 0.5575 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1389, allocations: 4.062 kB / 0.5575 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1389, allocations: 3.938 kB / 0.5575 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.1394, allocations: 358.5 kB / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1394, allocations: 0 / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.1395, allocations: 16 kB / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1395, allocations: 0 / 0.5579 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1395, allocations: 3.938 kB / 0.5579 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1395, allocations: 3.984 kB / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1395, allocations: 0 / 0.5579 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1398, allocations: 183.5 kB / 0.5581 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.1398, allocations: 93.28 kB / 0.5581 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1398, allocations: 3.938 kB / 0.5581 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.761e-05/0.1399, allocations: 4 kB / 0.5581 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1399, allocations: 7.969 kB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.14, allocations: 4 kB / 0.5582 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1401, allocations: 111.3 kB / 0.5583 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1401, allocations: 0 / 0.5583 GB, free: 3.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1403, allocations: 39.86 kB / 0.5583 GB, free: 3.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002214/0.1426, allocations: 1.11 MB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1428, allocations: 55.84 kB / 0.5594 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1428, allocations: 4 kB / 0.5594 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.1429, allocations: 27.97 kB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1432, allocations: 14.38 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1449, allocations: 1.451 MB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1453, allocations: 0.6885 MB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.1453, allocations: 23.77 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.1454, allocations: 31.42 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1454, allocations: 0 / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.1706, allocations: 3.272 MB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.276, allocations: 7.891 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.513492570724338]