Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001249/0.001249, allocations: 124.5 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.001337/0.001337, allocations: 207.2 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.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2569/0.2569, allocations: 46.93 MB / 357.1 MB, free: 10.37 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 0.491 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1488, allocations: 65.99 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003777/0.1526, allocations: 1.609 MB / 0.557 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1537, allocations: 0.561 MB / 0.5575 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.1538, allocations: 4 kB / 0.5575 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.154, allocations: 19.86 kB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1544, allocations: 83.61 kB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1547, allocations: 87.77 kB / 0.5577 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1549, allocations: 71.77 kB / 0.5578 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.155, allocations: 15.92 kB / 0.5578 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.1551, allocations: 31.91 kB / 0.5578 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.1552, allocations: 27.86 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1552, allocations: 7.938 kB / 0.5579 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1555, allocations: 107.9 kB / 0.558 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.1555, allocations: 11.98 kB / 0.558 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1556, allocations: 35.8 kB / 0.558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1559, allocations: 147.5 kB / 0.5581 GB, free: 3.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1559, allocations: 4 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1559, allocations: 0 / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1559, allocations: 0 / 0.5581 GB, free: 3.02 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.0006786/0.1566, allocations: 422.6 kB / 0.5585 GB, free: 2.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1567, allocations: 11.97 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1567, allocations: 30.75 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1568, allocations: 12.88 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.157, allocations: 196.2 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.157, allocations: 4.375 kB / 0.5588 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1571, allocations: 4.375 kB / 0.5588 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1572, allocations: 67.33 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1573, allocations: 3.938 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1573, allocations: 4 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1573, allocations: 0 / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1574, allocations: 23.98 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1579, allocations: 300.8 kB / 0.5592 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.158, allocations: 62.48 kB / 0.5592 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.1581, allocations: 24.97 kB / 0.5593 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1581, allocations: 0 / 0.5593 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1581, allocations: 34.56 kB / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1581, allocations: 0 / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007221/0.1589, allocations: 189.4 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.1589, allocations: 81.09 kB / 0.5596 GB, free: 1.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1591, allocations: 155.5 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1592, allocations: 25.7 kB / 0.5597 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.1592, allocations: 104.1 kB / 0.5598 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1593, allocations: 19.86 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.1593, allocations: 25.7 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1595, allocations: 318.8 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1596, allocations: 35.97 kB / 0.5602 GB, free: 0.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1597, allocations: 46.06 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1598, allocations: 72.98 kB / 0.5603 GB, free: 0.543 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1598, allocations: 3.938 kB / 0.5603 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000263/0.1601, allocations: 125.5 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1601, allocations: 9.656 kB / 0.5605 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1601, allocations: 0 / 0.5605 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1602, allocations: 4 kB / 0.5605 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1603, allocations: 15.98 kB / 0.5605 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.1603, allocations: 8 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.1603, allocations: 7.938 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1604, allocations: 7.938 kB / 0.5605 GB, free: 368 kB / 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 (9): * Single equations (assignments): 9 * 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.0001066/0.1605, allocations: 117.8 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1605, allocations: 7.953 kB / 0.5606 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.1608, allocations: 122.3 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1608, allocations: 4 kB / 0.5607 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1608, allocations: 4 kB / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1608, allocations: 0 / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.1614, allocations: 398.3 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1614, allocations: 0 / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.1615, allocations: 19.98 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1615, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1615, allocations: 7.938 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1615, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1615, allocations: 4 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1618, allocations: 199.4 kB / 0.5613 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1619, allocations: 85.06 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1619, allocations: 7.922 kB / 0.5614 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.162, allocations: 11.98 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.162, allocations: 4 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.162, allocations: 7.984 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1621, allocations: 116.1 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1621, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1625, allocations: 47.86 kB / 0.5616 GB, free: 15.11 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 (8): * Single equations (assignments): 8 * 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.002295/0.1647, allocations: 1.138 MB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.165, allocations: 63.95 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.165, allocations: 0 / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.1651, allocations: 39.91 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1655, allocations: 26.22 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1674, allocations: 1.561 MB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1677, allocations: 0.6961 MB / 0.565 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.589e-05/0.1678, allocations: 28.48 kB / 0.5651 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.1679, allocations: 31.42 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1679, allocations: 4 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.1968, allocations: 3.571 MB / 0.5686 GB, free: 8.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.052, allocations: 11.88 kB / 0.5686 GB, free: 8.02 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.366099346007104]