Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009204/0.0009204, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008717/0.0008717, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8714/0.8714, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.211e-05, allocations: 2.281 kB / 442.2 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.1662/0.1662, allocations: 1.6 MB / 443.8 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006896/0.1669, allocations: 0.527 MB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.167, allocations: 0 / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.1672, allocations: 77.03 kB / 444.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1674, allocations: 111.8 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1676, allocations: 96.55 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1678, allocations: 87.59 kB / 444.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.1679, allocations: 8.406 kB / 444.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.1679, allocations: 45.39 kB / 444.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.168, allocations: 58.06 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.168, allocations: 2.969 kB / 444.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1681, allocations: 46.14 kB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.1681, allocations: 21.52 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.1682, allocations: 16.09 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1683, allocations: 105.1 kB / 445 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1683, allocations: 3.875 kB / 445 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1683, allocations: 1.906 kB / 445 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1683, allocations: 0 / 445 MB, free: 43.19 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.00033/0.1687, allocations: 338.5 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1687, allocations: 11.22 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.133e-05/0.1687, allocations: 34.69 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1687, allocations: 15.22 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1688, allocations: 143.2 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1689, allocations: 4.344 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1689, allocations: 7.125 kB / 445.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.169, allocations: 53.09 kB / 445.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.169, allocations: 5.078 kB / 445.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.169, allocations: 384 / 445.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.169, allocations: 10.53 kB / 445.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.1691, allocations: 28.5 kB / 445.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.1693, allocations: 256.6 kB / 445.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.1694, allocations: 40.2 kB / 445.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.1694, allocations: 20.88 kB / 445.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1694, allocations: 5.938 kB / 445.9 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.1694, allocations: 30.56 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.1694, allocations: 3.562 kB / 446 MB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000541/0.17, allocations: 233.5 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.17, allocations: 54.25 kB / 446.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1701, allocations: 214.2 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.1701, allocations: 29.7 kB / 446.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.1701, allocations: 107.8 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1702, allocations: 30.06 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1702, allocations: 22.28 kB / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.1702, allocations: 327.1 kB / 447 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.1703, allocations: 25.84 kB / 447 MB, free: 41.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.1703, allocations: 22.88 kB / 447 MB, free: 41.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.1704, allocations: 62.48 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1704, allocations: 0 / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.1705, allocations: 108.9 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1705, allocations: 5.344 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1705, allocations: 0 / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1705, allocations: 2.844 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.1706, allocations: 18 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1706, allocations: 3 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.1706, allocations: 5.969 kB / 447.2 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1706, allocations: 2.938 kB / 447.2 MB, free: 41.6 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 (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 prepare postOptimizeDAE: time 4.734e-05/0.1707, allocations: 129.1 kB / 447.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.1707, allocations: 17.59 kB / 447.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.1708, allocations: 125.8 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1708, allocations: 3.938 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1708, allocations: 0 / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1708, allocations: 0 / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1711, allocations: 368.5 kB / 447.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1711, allocations: 0 / 447.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1711, allocations: 21.7 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1711, allocations: 0 / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1711, allocations: 3.594 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1711, allocations: 0 / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1711, allocations: 3.938 kB / 447.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1713, allocations: 215.2 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.1713, allocations: 6.922 kB / 448.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1713, allocations: 2.844 kB / 448.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.1713, allocations: 10.02 kB / 448.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1713, allocations: 10.88 kB / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1713, allocations: 6.984 kB / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.1714, allocations: 158.4 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1714, allocations: 0 / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.1716, allocations: 28.45 kB / 448.3 MB, free: 40.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0008785/0.1724, allocations: 1.106 MB / 449.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1726, allocations: 58.14 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1726, allocations: 2.906 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.1726, allocations: 33.8 kB / 449.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1729, allocations: 26.28 kB / 449.5 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.1739, allocations: 1.667 MB / 451.2 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.174, allocations: 103.2 kB / 451.3 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.174, allocations: 17.66 kB / 451.3 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.174, allocations: 36.12 kB / 451.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.174, allocations: 3.938 kB / 451.3 MB, free: 38.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.1907, allocations: 3.813 MB / 455.2 MB, free: 37.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.049, allocations: 8.375 kB / 455.2 MB, free: 37.33 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.072143683210015]