Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0008221/0.0008221, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008011/0.0008011, 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.9072/0.9072, allocations: 177 MB / 204.1 MB, free: 5.762 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.2486/0.2486, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.106e-05, allocations: 4.672 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.2194/0.2194, allocations: 1.645 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.2202, allocations: 0.5555 MB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.2203, allocations: 0 / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.2207, allocations: 461.9 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.221, allocations: 292 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2214, allocations: 175.3 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.2216, allocations: 183.6 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2218, allocations: 7.016 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2219, allocations: 127.6 kB / 445.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2221, allocations: 237.5 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2221, allocations: 2.812 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.2222, allocations: 33.12 kB / 445.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.2223, allocations: 87.55 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.2223, allocations: 45.39 kB / 446 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2225, allocations: 250.5 kB / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2225, allocations: 3.938 kB / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2225, allocations: 0 / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.2225, allocations: 0 / 446.2 MB, free: 43.02 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.0004968/0.223, allocations: 0.5826 MB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2231, allocations: 11.28 kB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.2231, allocations: 31.25 kB / 446.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.2231, allocations: 48.64 kB / 446.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.2233, allocations: 248.7 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2233, allocations: 8.031 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2233, allocations: 7.25 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2234, allocations: 56.03 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2234, allocations: 192 / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2234, allocations: 3.688 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2235, allocations: 7.125 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.2235, allocations: 27.42 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.2238, allocations: 368.6 kB / 447.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.224, allocations: 46.56 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.224, allocations: 20.7 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2241, allocations: 3.328 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.2241, allocations: 34.59 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2241, allocations: 0 / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004463/0.2245, allocations: 251.5 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2245, allocations: 54.28 kB / 448 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.225, allocations: 0.8731 MB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.2251, allocations: 25.7 kB / 448.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.2251, allocations: 231.6 kB / 449.1 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2252, allocations: 21.97 kB / 449.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.2252, allocations: 16.72 kB / 449.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.2252, allocations: 357.5 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.2253, allocations: 22.36 kB / 449.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.2253, allocations: 29.23 kB / 449.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.2254, allocations: 58.5 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2254, allocations: 0 / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001075/0.2255, allocations: 119.9 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2255, allocations: 5.562 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2255, allocations: 0 / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2255, allocations: 2.75 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.2256, allocations: 15.88 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2256, allocations: 0 / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.2256, allocations: 12.95 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.2256, allocations: 2.688 kB / 449.8 MB, free: 40.95 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 (5): * Single equations (assignments): 5 * 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 9.926e-05/0.2257, allocations: 225.2 kB / 450 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.2257, allocations: 41.03 kB / 450.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.2259, allocations: 142 kB / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2259, allocations: 0 / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2259, allocations: 6.562 kB / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2259, allocations: 0 / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.2262, allocations: 446.3 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2262, allocations: 4 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.2262, allocations: 11.56 kB / 450.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2262, allocations: 0 / 450.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2262, allocations: 2.969 kB / 450.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2262, allocations: 0 / 450.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2262, allocations: 0 / 450.7 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.2263, allocations: 222.2 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2263, allocations: 39.16 kB / 450.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2264, allocations: 3.938 kB / 450.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.2264, allocations: 13 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.2264, allocations: 0 / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2264, allocations: 6.016 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.2267, allocations: 0.6608 MB / 451.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2267, allocations: 3.938 kB / 451.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.2269, allocations: 27.59 kB / 451.6 MB, free: 39.91 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 (5): * Single equations (assignments): 5 * 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.0007631/0.2277, allocations: 1.071 MB / 452.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2278, allocations: 56.72 kB / 452.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2278, allocations: 0 / 452.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.2278, allocations: 24.38 kB / 452.8 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2281, allocations: 26.56 kB / 452.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.2301, allocations: 3.297 MB / 456.1 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2302, allocations: 226.3 kB / 456.3 MB, free: 37.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.2303, allocations: 17.56 kB / 456.3 MB, free: 37.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.2303, allocations: 116.1 kB / 456.5 MB, free: 37.12 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2303, allocations: 0 / 456.5 MB, free: 37.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.247, allocations: 6.787 MB / 463.2 MB, free: 35.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.214, allocations: 3.156 kB / 463.2 MB, free: 35.43 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.323961433023214]