Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.0008518/0.0008518, allocations: 79.7 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.0008265/0.0008265, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8704/0.8704, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2415/0.2415, allocations: 32.79 MB / 293.5 MB, free: 1.199 MB / 266.7 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.597e-05, allocations: 2.844 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002004/0.00202, allocations: 1.617 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.002767, allocations: 0.5336 MB / 441.8 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.002825, allocations: 3.938 kB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.003089, allocations: 103.7 kB / 441.9 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.003364, allocations: 123.5 kB / 442 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.00358, allocations: 91.69 kB / 442.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.003735, allocations: 91.73 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.003827, allocations: 8 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.003897, allocations: 51.88 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.003994, allocations: 71.84 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.004008, allocations: 4 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-05/0.004088, allocations: 43.92 kB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.004138, allocations: 31.8 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.004166, allocations: 19.92 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.004359, allocations: 115.5 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004361, allocations: 0 / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004362, allocations: 0 / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.004367, allocations: 0 / 442.5 MB, free: 1.312 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.0003811/0.004748, allocations: 353.5 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.004786, allocations: 12.03 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.004814, allocations: 34.75 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.00484, allocations: 8.891 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.004975, allocations: 158.3 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.004983, allocations: 4.375 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005001, allocations: 8.375 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005106, allocations: 54.17 kB / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.005117, allocations: 4.141 kB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.005125, allocations: 3.938 kB / 443.1 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005132, allocations: 4 kB / 443.1 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.00519, allocations: 19.98 kB / 443.1 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.005462, allocations: 267.9 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.334e-05/0.005535, allocations: 46.48 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.005567, allocations: 16.86 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.005585, allocations: 4 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.005604, allocations: 38.58 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.005605, allocations: 0 / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1661/0.1717, allocations: 227.4 kB / 443.7 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1717, allocations: 54.06 kB / 443.8 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1719, allocations: 252.5 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.1719, allocations: 29.58 kB / 444.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.172, allocations: 114.7 kB / 444.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.172, allocations: 26.91 kB / 444.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.172, allocations: 18.78 kB / 444.2 MB, free: 46.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.1721, allocations: 331 kB / 444.5 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.1721, allocations: 21.64 kB / 444.6 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.1721, allocations: 31.58 kB / 444.6 MB, free: 45.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.1722, allocations: 63.98 kB / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1722, allocations: 3.375 kB / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001359/0.1724, allocations: 109 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1724, allocations: 6.531 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1724, allocations: 0 / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1724, allocations: 0.5625 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1725, allocations: 19.41 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1725, allocations: 3.328 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.1725, allocations: 7.312 kB / 444.8 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1725, allocations: 2.25 kB / 444.8 MB, free: 45.74 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 6.529e-05/0.1726, allocations: 136.7 kB / 444.9 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1726, allocations: 13.84 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.1728, allocations: 124.1 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1728, allocations: 0 / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1728, allocations: 2.938 kB / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1728, allocations: 0 / 445.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.1732, allocations: 382.3 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1732, allocations: 2.875 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1732, allocations: 17.47 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1732, allocations: 1.531 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1732, allocations: 0 / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1732, allocations: 6.531 kB / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1732, allocations: 0 / 445.5 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.1733, allocations: 209.5 kB / 445.7 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.1733, allocations: 16.41 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1734, allocations: 2.875 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.1734, allocations: 2.969 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.1734, allocations: 11.06 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1734, allocations: 2.875 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.309e-05/0.1735, allocations: 186.5 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1735, allocations: 2.969 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.1737, allocations: 25.89 kB / 445.9 MB, free: 45.09 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.0009094/0.1746, allocations: 1.123 MB / 447.1 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1747, allocations: 65.89 kB / 447.1 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1747, allocations: 0 / 447.1 MB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.1748, allocations: 31.52 kB / 447.1 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.175, allocations: 20.14 kB / 447.2 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.176, allocations: 1.777 MB / 448.9 MB, free: 42.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.1761, allocations: 99.36 kB / 449 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.1761, allocations: 9.75 kB / 449.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.1761, allocations: 39.91 kB / 449.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1761, allocations: 0 / 449.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.1904, allocations: 3.974 MB / 453.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.236, allocations: 19.23 kB / 453.1 MB, free: 41.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.280309838242829]