Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001268/0.001268, allocations: 79.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.001086/0.001086, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9218/0.9218, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2521/0.2521, allocations: 32.8 MB / 293.5 MB, free: 1.246 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.485e-05, allocations: 4.531 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00244/0.002465, allocations: 1.611 MB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.003265, allocations: 0.5297 MB / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.00333, allocations: 0 / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.003587, allocations: 79.64 kB / 441.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.003863, allocations: 111.5 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.004092, allocations: 100.8 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.004239, allocations: 83.75 kB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004341, allocations: 11.98 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.004406, allocations: 43.84 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.004498, allocations: 51.92 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004513, allocations: 4 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-05/0.004592, allocations: 47.91 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.004642, allocations: 23.81 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.004671, allocations: 19.92 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004878, allocations: 103.6 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004881, allocations: 0 / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004882, allocations: 0 / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004887, allocations: 0 / 442.4 MB, free: 1.422 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.0004556/0.005342, allocations: 349.5 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.005384, allocations: 12.03 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.005416, allocations: 30.75 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.005446, allocations: 12.84 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.005591, allocations: 142.3 kB / 442.9 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.005607, allocations: 8.375 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.005627, allocations: 384 / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.005748, allocations: 58.23 kB / 443 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.00576, allocations: 192 / 443 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.005772, allocations: 7.938 kB / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005778, allocations: 0 / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.005846, allocations: 27.92 kB / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.006155, allocations: 259.9 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.006241, allocations: 38.5 kB / 443.3 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.006275, allocations: 20.94 kB / 443.4 MB, free: 356 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.006303, allocations: 7.984 kB / 443.4 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.006328, allocations: 34.56 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.00633, allocations: 0 / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007182/0.007048, allocations: 221.2 kB / 443.6 MB, free: 76 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.007087, allocations: 51.41 kB / 443.7 MB, free: 12 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1955/0.2026, allocations: 219.6 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2026, allocations: 26.45 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2027, allocations: 106.6 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2027, allocations: 27.33 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2027, allocations: 22.78 kB / 444.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.2028, allocations: 326.5 kB / 444.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.2029, allocations: 27.64 kB / 444.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.2029, allocations: 26.48 kB / 444.4 MB, free: 45.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.437e-05/0.203, allocations: 65.97 kB / 444.5 MB, free: 45.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.203, allocations: 0 / 444.5 MB, free: 45.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001441/0.2032, allocations: 104.8 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2032, allocations: 9.266 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2032, allocations: 0 / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2032, allocations: 0 / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.2033, allocations: 21.7 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2033, allocations: 0 / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.2033, allocations: 12.44 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2033, allocations: 5.766 kB / 444.6 MB, free: 45.9 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.564e-05/0.2034, allocations: 131.3 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.2034, allocations: 11.3 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.2036, allocations: 112.4 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2036, allocations: 6.688 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2036, allocations: 0 / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2036, allocations: 2.094 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.204, allocations: 377.1 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.204, allocations: 0 / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.204, allocations: 21.05 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.204, allocations: 0 / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.204, allocations: 6.094 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.204, allocations: 0 / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.204, allocations: 2.781 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.2042, allocations: 208.1 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.2042, allocations: 16.03 kB / 445.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.2042, allocations: 2.812 kB / 445.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.2043, allocations: 8.094 kB / 445.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.2043, allocations: 10.02 kB / 445.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2043, allocations: 3.125 kB / 445.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.72e-05/0.2044, allocations: 161.1 kB / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2044, allocations: 0 / 445.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.2046, allocations: 24.77 kB / 445.7 MB, free: 45.25 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.001014/0.2056, allocations: 1.126 MB / 446.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.2058, allocations: 61.72 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2058, allocations: 0 / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.2058, allocations: 32.38 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.2061, allocations: 26.72 kB / 447 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2072, allocations: 1.677 MB / 448.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.3e-05/0.2072, allocations: 93.41 kB / 448.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.2073, allocations: 13.94 kB / 448.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.2073, allocations: 40.16 kB / 448.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2073, allocations: 0 / 448.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.2254, allocations: 3.818 MB / 452.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/7.121, allocations: 6.859 kB / 452.6 MB, free: 41.72 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.290155790746212]