Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.00165/0.00165, 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.002197/0.002197, allocations: 208.3 kB / 20.75 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.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.91 kB / 0.4909 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1442, allocations: 65.99 MB / 0.5554 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003308/0.1475, allocations: 1.611 MB / 0.557 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1494, allocations: 1.164 MB / 0.5581 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.1495, allocations: 4 kB / 0.5581 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1498, allocations: 19.84 kB / 0.5581 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.15, allocations: 83.62 kB / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1503, allocations: 95.62 kB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1505, allocations: 71.77 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.1506, allocations: 7.984 kB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.1506, allocations: 27.92 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1508, allocations: 31.84 kB / 0.5584 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1508, allocations: 4 kB / 0.5584 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1509, allocations: 111.9 kB / 0.5585 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.151, allocations: 11.92 kB / 0.5585 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.151, allocations: 23.81 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1513, allocations: 135.5 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.1513, allocations: 4 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1513, allocations: 0 / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1513, allocations: 0 / 0.5587 GB, free: 2.383 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.0005456/0.1518, allocations: 406.7 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1519, allocations: 8.031 kB / 0.5591 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1519, allocations: 34.75 kB / 0.5591 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.152, allocations: 8.891 kB / 0.5591 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1522, allocations: 200.2 kB / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1522, allocations: 4.375 kB / 0.5593 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1522, allocations: 4.359 kB / 0.5593 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1524, allocations: 63.34 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1524, allocations: 0 / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1524, allocations: 7.938 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1524, allocations: 0 / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.1525, allocations: 27.97 kB / 0.5594 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1529, allocations: 272.9 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1531, allocations: 38.56 kB / 0.5597 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1532, allocations: 20.88 kB / 0.5598 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1532, allocations: 4 kB / 0.5598 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1532, allocations: 34.56 kB / 0.5598 GB, free: 1.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1532, allocations: 0 / 0.5598 GB, free: 1.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005859/0.1538, allocations: 141.4 kB / 0.5599 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.1539, allocations: 81.11 kB / 0.56 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.154, allocations: 145.8 kB / 0.5601 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1541, allocations: 29.7 kB / 0.5602 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.1541, allocations: 92.14 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1541, allocations: 23.78 kB / 0.5603 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1542, allocations: 17.72 kB / 0.5603 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1543, allocations: 322.8 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.1544, allocations: 19.98 kB / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1546, allocations: 41.7 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1547, allocations: 44.83 kB / 0.5607 GB, free: 88 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1547, allocations: 3.938 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003111/0.1551, allocations: 85.64 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1551, allocations: 6.188 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1551, allocations: 0 / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1551, allocations: 0 / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.1552, allocations: 20.02 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1552, allocations: 0 / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.1553, allocations: 7.938 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1553, allocations: 0 / 0.5608 GB, free: 15.96 MB / 430.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 0.0001204/0.1554, allocations: 120 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1555, allocations: 7.953 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.1558, allocations: 93.91 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1558, allocations: 4 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1558, allocations: 0 / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1558, allocations: 3.938 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.1564, allocations: 342.6 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1564, allocations: 320 / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.1565, allocations: 19.92 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1565, allocations: 4 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1565, allocations: 3.938 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1566, allocations: 4 kB / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1566, allocations: 0 / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1569, allocations: 179.5 kB / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.1569, allocations: 85.06 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.157, allocations: 4.219 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1571, allocations: 7.984 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1571, allocations: 8 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1571, allocations: 4 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1573, allocations: 115.2 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1573, allocations: 0 / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.1578, allocations: 39.86 kB / 0.5618 GB, free: 14.82 MB / 430.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.002931/0.1607, allocations: 1.106 MB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.161, allocations: 47.91 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.161, allocations: 0 / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1611, allocations: 27.92 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1616, allocations: 15.98 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.164, allocations: 1.425 MB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1644, allocations: 0.6885 MB / 0.5651 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.1645, allocations: 20 kB / 0.5651 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.1646, allocations: 35.36 kB / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1646, allocations: 0 / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.1953, allocations: 3.233 MB / 0.5683 GB, free: 8.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.135, allocations: 12.81 kB / 0.5683 GB, free: 8.293 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.263762793998467]