Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001699/0.001699, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001919/0.001919, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.624/1.624, 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.2364/0.2364, allocations: 44.91 MB / 355.1 MB, free: 12.33 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.002171/0.002171, allocations: 63.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1481, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003736/0.1518, allocations: 1.597 MB / 0.5533 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1539, allocations: 1.175 MB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.154, allocations: 0 / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1543, allocations: 23.78 kB / 0.5545 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.1547, allocations: 83.62 kB / 0.5546 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1551, allocations: 99.25 kB / 0.5547 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1553, allocations: 71.77 kB / 0.5547 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1554, allocations: 11.92 kB / 0.5548 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.1555, allocations: 27.92 kB / 0.5548 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1557, allocations: 39.78 kB / 0.5548 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1557, allocations: 4 kB / 0.5548 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.156, allocations: 99.92 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.156, allocations: 11.94 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.1561, allocations: 27.8 kB / 0.555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1565, allocations: 135.5 kB / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1565, allocations: 0 / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1565, allocations: 0 / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1565, allocations: 0 / 0.5551 GB, free: 6.711 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.0007339/0.1572, allocations: 410.8 kB / 0.5555 GB, free: 6.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.1573, allocations: 8.031 kB / 0.5555 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.1573, allocations: 30.75 kB / 0.5555 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.1574, allocations: 8.891 kB / 0.5555 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1577, allocations: 200.1 kB / 0.5557 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1578, allocations: 4.375 kB / 0.5557 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1578, allocations: 384 / 0.5557 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.158, allocations: 67.33 kB / 0.5558 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.158, allocations: 4 kB / 0.5558 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.158, allocations: 4 kB / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.158, allocations: 0 / 0.5558 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1581, allocations: 19.98 kB / 0.5558 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.1587, allocations: 280.8 kB / 0.5561 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.159, allocations: 38.56 kB / 0.5561 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.1591, allocations: 16.86 kB / 0.5561 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1591, allocations: 8.062 kB / 0.5561 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1591, allocations: 34.56 kB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1592, allocations: 0 / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007391/0.1599, allocations: 145.6 kB / 0.5563 GB, free: 5.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.16, allocations: 85.11 kB / 0.5564 GB, free: 5.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1602, allocations: 144.2 kB / 0.5565 GB, free: 5.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1602, allocations: 25.7 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.1603, allocations: 96.12 kB / 0.5566 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.1604, allocations: 11.86 kB / 0.5567 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.1604, allocations: 25.7 kB / 0.5567 GB, free: 4.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1606, allocations: 322.7 kB / 0.557 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.1607, allocations: 23.98 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.1608, allocations: 33.69 kB / 0.557 GB, free: 4.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1609, allocations: 40.84 kB / 0.5571 GB, free: 4.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1609, allocations: 3.938 kB / 0.5571 GB, free: 4.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002373/0.1612, allocations: 85.86 kB / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1612, allocations: 4 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1612, allocations: 8.031 kB / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1612, allocations: 0 / 0.5572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.1613, allocations: 23.86 kB / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1613, allocations: 0 / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.1614, allocations: 11.88 kB / 0.5572 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1614, allocations: 0 / 0.5572 GB, free: 4.281 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 0.0001056/0.1615, allocations: 116 kB / 0.5573 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.1615, allocations: 7.953 kB / 0.5573 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1618, allocations: 97.95 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1618, allocations: 0 / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1618, allocations: 0 / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1618, allocations: 3.938 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.1623, allocations: 346.5 kB / 0.5578 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1623, allocations: 0 / 0.5578 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.1624, allocations: 15.98 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1624, allocations: 4 kB / 0.5578 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1624, allocations: 3.938 kB / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1624, allocations: 0 / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1624, allocations: 0 / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1627, allocations: 179.4 kB / 0.558 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.1628, allocations: 85.06 kB / 0.558 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1628, allocations: 3.938 kB / 0.558 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1629, allocations: 12.17 kB / 0.558 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1629, allocations: 4 kB / 0.5581 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1629, allocations: 8 kB / 0.5581 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.163, allocations: 111.2 kB / 0.5582 GB, free: 3.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.163, allocations: 4 kB / 0.5582 GB, free: 3.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.1633, allocations: 31.88 kB / 0.5582 GB, free: 3.16 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.002425/0.1658, allocations: 1.111 MB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.166, allocations: 47.91 kB / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.166, allocations: 0 / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1661, allocations: 23.98 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1665, allocations: 18.8 kB / 0.5594 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1685, allocations: 1.428 MB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1689, allocations: 0.6846 MB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.285e-05/0.1689, allocations: 15.77 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.169, allocations: 35.42 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.169, allocations: 0 / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.1976, allocations: 3.243 MB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.342, allocations: 8.938 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_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_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.78165618982166]