Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009083/0.0009083, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001175/0.001175, 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.9613/0.9613, 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.2755/0.2755, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.256e-05, allocations: 4.109 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002219/0.002242, allocations: 1.591 MB / 441.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.002918, allocations: 0.5336 MB / 441.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.002972, allocations: 0 / 441.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.00317, allocations: 31.72 kB / 441.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.00342, allocations: 79.56 kB / 441.8 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.003666, allocations: 114.7 kB / 441.9 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.003795, allocations: 63.78 kB / 442 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.003884, allocations: 11.98 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.003937, allocations: 31.91 kB / 442.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.003997, allocations: 19.92 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.00401, allocations: 0 / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.004074, allocations: 31.92 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.004118, allocations: 15.94 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.004145, allocations: 19.91 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.00428, allocations: 79.67 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004282, allocations: 0 / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004284, allocations: 4 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.004289, allocations: 3.938 kB / 442.2 MB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003657/0.004654, allocations: 305.9 kB / 442.5 MB, free: 1.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004695, allocations: 8.031 kB / 442.5 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.004726, allocations: 38.75 kB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.381e-05/0.00475, allocations: 4.891 kB / 442.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.004892, allocations: 137.6 kB / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.0049, allocations: 384 / 442.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.004919, allocations: 8.375 kB / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.005034, allocations: 46.19 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005044, allocations: 192 / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.005053, allocations: 7.938 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.005058, allocations: 0 / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.1e-05/0.005119, allocations: 27.97 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.005412, allocations: 240 kB / 443 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.005597, allocations: 54.53 kB / 443.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.005628, allocations: 16.84 kB / 443.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.00565, allocations: 4 kB / 443.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.005669, allocations: 38.5 kB / 443.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.00567, allocations: 0 / 443.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004191/0.006089, allocations: 145.4 kB / 443.3 MB, free: 396 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.006123, allocations: 55.41 kB / 443.3 MB, free: 328 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.006232, allocations: 152.5 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.006242, allocations: 25.7 kB / 443.5 MB, free: 132 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.006284, allocations: 104.1 kB / 443.6 MB, free: 24 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.006305, allocations: 19.86 kB / 443.6 MB, free: 4 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1882/0.1945, allocations: 16.41 kB / 443.6 MB, free: 46.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.1946, allocations: 320.1 kB / 444 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.1947, allocations: 18.67 kB / 444 MB, free: 46.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/0.1947, allocations: 28.95 kB / 444 MB, free: 46.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.1948, allocations: 52.34 kB / 444.1 MB, free: 46.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1948, allocations: 0 / 444.1 MB, free: 46.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001281/0.1949, allocations: 87.66 kB / 444.1 MB, free: 46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1949, allocations: 7.156 kB / 444.1 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1949, allocations: 0 / 444.1 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1949, allocations: 0 / 444.1 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.195, allocations: 19.2 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.195, allocations: 0 / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.195, allocations: 6.734 kB / 444.2 MB, free: 46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.195, allocations: 1.625 kB / 444.2 MB, free: 46 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 5.317e-05/0.1951, allocations: 120 kB / 444.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1951, allocations: 10.31 kB / 444.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.1953, allocations: 97.77 kB / 444.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1953, allocations: 3.125 kB / 444.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1953, allocations: 3.938 kB / 444.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1953, allocations: 0 / 444.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1955, allocations: 320.1 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1955, allocations: 1.062 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.1956, allocations: 17.23 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1956, allocations: 3.938 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1956, allocations: 0.5 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1956, allocations: 0 / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1956, allocations: 5.656 kB / 444.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.838e-05/0.1957, allocations: 188.7 kB / 444.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.1957, allocations: 9.016 kB / 444.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1957, allocations: 6.844 kB / 444.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.1957, allocations: 7.734 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.1957, allocations: 0 / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1958, allocations: 3.844 kB / 445 MB, free: 45.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.318e-05/0.1958, allocations: 120.7 kB / 445.1 MB, free: 45.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1958, allocations: 0 / 445.1 MB, free: 45.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.196, allocations: 23.8 kB / 445.1 MB, free: 45.38 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.0007674/0.1967, allocations: 1.039 MB / 446.1 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1968, allocations: 55.22 kB / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1968, allocations: 0 / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.1969, allocations: 28.84 kB / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1972, allocations: 19.39 kB / 446.2 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.198, allocations: 1.468 MB / 447.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.198, allocations: 84.8 kB / 447.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.1981, allocations: 13.7 kB / 447.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1981, allocations: 32.06 kB / 447.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1981, allocations: 0 / 447.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.2124, allocations: 3.288 MB / 451.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.21, allocations: 0 / 451.1 MB, free: 42.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.453177894465625]