Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0008896/0.0008896, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001089/0.001089, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8824/0.8824, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2416/0.2416, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.248e-05, allocations: 8.391 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.1677/0.1677, allocations: 1.644 MB / 443.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1689, allocations: 1.274 MB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.169, allocations: 2.875 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1691, allocations: 32.81 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.1694, allocations: 86.06 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1696, allocations: 181.3 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1697, allocations: 82.89 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.1698, allocations: 11.27 kB / 445.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.1699, allocations: 44.08 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.17, allocations: 28.45 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.17, allocations: 5.344 kB / 445.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1701, allocations: 100.6 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1701, allocations: 19.73 kB / 445.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1701, allocations: 24.64 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1703, allocations: 156.9 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1703, allocations: 3.438 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1703, allocations: 0 / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1703, allocations: 2.469 kB / 445.9 MB, free: 42.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003609/0.1707, allocations: 347.2 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1707, allocations: 14.53 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.078e-05/0.1707, allocations: 33.28 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.1708, allocations: 7.672 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1709, allocations: 144.3 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1709, allocations: 13.52 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1709, allocations: 2.938 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.171, allocations: 102.9 kB / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.171, allocations: 0.8438 kB / 446.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1711, allocations: 6.938 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1711, allocations: 0 / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.1711, allocations: 41.06 kB / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.1714, allocations: 280.5 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.1715, allocations: 45.47 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.1715, allocations: 23.56 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1715, allocations: 0 / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.1715, allocations: 44.67 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1715, allocations: 0 / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004577/0.172, allocations: 230.8 kB / 447.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.172, allocations: 85.03 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.1721, allocations: 154.3 kB / 447.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.1721, allocations: 28.58 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.1721, allocations: 99.06 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.1721, allocations: 25.19 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.1722, allocations: 23.56 kB / 447.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.324e-05/0.1722, allocations: 325 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.1722, allocations: 40.95 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.1723, allocations: 80.28 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1724, allocations: 96.12 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1724, allocations: 0 / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001399/0.1726, allocations: 120.8 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1726, allocations: 5.844 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1726, allocations: 2.859 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1726, allocations: 0 / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1727, allocations: 22.16 kB / 448.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1727, allocations: 0 / 448.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.1727, allocations: 16.08 kB / 448.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1727, allocations: 2.156 kB / 448.3 MB, free: 41.01 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 3.95e-05/0.1727, allocations: 124.8 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.1728, allocations: 9.922 kB / 448.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.173, allocations: 153.1 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.173, allocations: 0 / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.173, allocations: 3.328 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.173, allocations: 0 / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.1732, allocations: 375.4 kB / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1732, allocations: 0 / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.1733, allocations: 27.06 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1733, allocations: 4 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1733, allocations: 5.312 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1733, allocations: 2.781 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1733, allocations: 3.938 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1734, allocations: 214.3 kB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.1734, allocations: 13.97 kB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1735, allocations: 2.938 kB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.1735, allocations: 8.906 kB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.1735, allocations: 18.52 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1735, allocations: 2.906 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.412e-05/0.1736, allocations: 113.9 kB / 449.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1736, allocations: 0 / 449.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.1738, allocations: 47.27 kB / 449.4 MB, free: 40.22 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.0008842/0.1747, allocations: 1.19 MB / 450.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1748, allocations: 84.27 kB / 450.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1748, allocations: 0 / 450.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.1749, allocations: 50.25 kB / 450.7 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1751, allocations: 33.61 kB / 450.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1762, allocations: 1.651 MB / 452.4 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.1762, allocations: 89.17 kB / 452.5 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.265e-05/0.1763, allocations: 25.44 kB / 452.5 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.1763, allocations: 35.88 kB / 452.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1763, allocations: 0 / 452.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1915, allocations: 4.37 MB / 456.9 MB, free: 36.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.326, allocations: 9.812 kB / 456.9 MB, free: 36.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.409385439008474]