Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.000909/0.000909, 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.00133/0.00133, 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.8936/0.8936, 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.2414/0.2414, allocations: 32.79 MB / 293.5 MB, free: 1.262 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.443e-05, allocations: 2.281 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003705/0.003729, allocations: 1.613 MB / 441.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00478, allocations: 0.5414 MB / 441.8 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.004868, allocations: 0 / 441.8 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.00524, allocations: 79.7 kB / 441.8 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.005649, allocations: 107.5 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.006046, allocations: 110.3 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.006274, allocations: 91.75 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.00641, allocations: 7.984 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.006515, allocations: 47.89 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.006644, allocations: 55.86 kB / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.006665, allocations: 4 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006773, allocations: 43.92 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.006846, allocations: 31.8 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.006891, allocations: 19.92 kB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.007145, allocations: 107.6 kB / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.00715, allocations: 0 / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.007152, allocations: 0 / 442.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.007158, allocations: 0 / 442.4 MB, free: 1.395 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.0005518/0.00771, allocations: 341.6 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.007761, allocations: 8.031 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.007804, allocations: 30.75 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.007846, allocations: 20.84 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.008081, allocations: 146.2 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.008096, allocations: 384 / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.008127, allocations: 12.36 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.008302, allocations: 54.17 kB / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.008315, allocations: 192 / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.008327, allocations: 7.938 kB / 443.1 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.008334, allocations: 4 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.008423, allocations: 27.97 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.008881, allocations: 259.9 kB / 443.3 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.008998, allocations: 46.5 kB / 443.4 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.009042, allocations: 16.94 kB / 443.4 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.009073, allocations: 4 kB / 443.4 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.009099, allocations: 30.56 kB / 443.4 MB, free: 276 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.0091, allocations: 0 / 443.4 MB, free: 276 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000792/0.009892, allocations: 245.2 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2093/0.2192, allocations: 57.61 kB / 443.7 MB, free: 46.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.2194, allocations: 212.2 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2195, allocations: 27.08 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.2195, allocations: 105.8 kB / 444.1 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.2195, allocations: 27.19 kB / 444.1 MB, free: 46.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.2196, allocations: 22.22 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.2196, allocations: 326.1 kB / 444.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.2197, allocations: 32.97 kB / 444.5 MB, free: 45.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.2198, allocations: 35.17 kB / 444.5 MB, free: 45.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.2199, allocations: 72.41 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2199, allocations: 0 / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001629/0.22, allocations: 121.3 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2201, allocations: 5.531 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2201, allocations: 3.375 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2201, allocations: 3.281 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.2202, allocations: 18.45 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2202, allocations: 0.7188 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.2202, allocations: 5.25 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2202, allocations: 9.141 kB / 444.7 MB, free: 45.87 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 5.746e-05/0.2203, allocations: 130.5 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.2203, allocations: 10.89 kB / 444.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.2205, allocations: 135.6 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2205, allocations: 3.938 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2205, allocations: 0 / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2205, allocations: 0 / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.2209, allocations: 391.4 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2209, allocations: 0 / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.2209, allocations: 17.22 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2209, allocations: 3.625 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2209, allocations: 3.125 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2209, allocations: 3.656 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2209, allocations: 6.406 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.2211, allocations: 217.8 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.2211, allocations: 14.47 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2211, allocations: 3.625 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.2211, allocations: 5.219 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.2212, allocations: 8.25 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2212, allocations: 6.062 kB / 445.7 MB, free: 45.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.886e-05/0.2212, allocations: 163.1 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2212, allocations: 6.406 kB / 445.8 MB, free: 45.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.2214, allocations: 23 kB / 445.9 MB, free: 45.21 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.0009723/0.2224, allocations: 1.131 MB / 447 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.2226, allocations: 70.69 kB / 447.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2226, allocations: 0 / 447.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.956e-05/0.2226, allocations: 39.73 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.223, allocations: 20.44 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2242, allocations: 1.722 MB / 448.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.861e-05/0.2242, allocations: 102.1 kB / 448.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.2243, allocations: 18.64 kB / 449 MB, free: 43.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.2244, allocations: 39.5 kB / 449 MB, free: 43.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.2244, allocations: 0 / 449 MB, free: 43.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.243, allocations: 3.874 MB / 452.9 MB, free: 41.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.121, allocations: 6.844 kB / 452.9 MB, free: 41.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.28383622225374]