Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008748/0.0008748, 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.0008986/0.0008986, allocations: 174 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.9028/0.9028, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2453/0.2453, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.16e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002864/0.002886, allocations: 1.591 MB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1994/0.2023, allocations: 0.5242 MB / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.2023, allocations: 3.125 kB / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.2025, allocations: 29.09 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.2027, allocations: 77.34 kB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2029, allocations: 116.8 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2031, allocations: 63.23 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.2032, allocations: 16.08 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.2032, allocations: 27.36 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.2033, allocations: 18.42 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2033, allocations: 2.906 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.2033, allocations: 38.03 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.2034, allocations: 15.48 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.2034, allocations: 13.14 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.2035, allocations: 81.36 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2035, allocations: 1.5 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2035, allocations: 0 / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2035, allocations: 0 / 444.8 MB, free: 43.17 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.0003111/0.2038, allocations: 305.5 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2039, allocations: 16.75 kB / 445.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.2039, allocations: 33.56 kB / 445.1 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.2039, allocations: 11.72 kB / 445.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.204, allocations: 135.2 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.204, allocations: 3.656 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2041, allocations: 7.969 kB / 445.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.2042, allocations: 49.14 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2042, allocations: 4.344 kB / 445.4 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.2042, allocations: 4.906 kB / 445.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2042, allocations: 0 / 445.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.2042, allocations: 25.55 kB / 445.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.2045, allocations: 246 kB / 445.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.2046, allocations: 58.84 kB / 445.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.2046, allocations: 17.48 kB / 445.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2047, allocations: 0 / 445.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/0.2047, allocations: 33.16 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.2047, allocations: 0 / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003575/0.205, allocations: 151 kB / 445.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.205, allocations: 54.69 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.2051, allocations: 154.6 kB / 446.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-06/0.2051, allocations: 25.7 kB / 446.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.2052, allocations: 96.58 kB / 446.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2052, allocations: 19.03 kB / 446.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.2052, allocations: 21.31 kB / 446.2 MB, free: 42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.603e-05/0.2052, allocations: 324.9 kB / 446.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.2053, allocations: 18.23 kB / 446.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.2053, allocations: 28.17 kB / 446.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.848e-05/0.2054, allocations: 55.16 kB / 446.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2054, allocations: 0 / 446.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.901e-05/0.2054, allocations: 86.98 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2055, allocations: 2.938 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2055, allocations: 3.125 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2055, allocations: 0 / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.2055, allocations: 13.3 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2055, allocations: 4 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.2055, allocations: 6.328 kB / 446.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2055, allocations: 3.219 kB / 446.8 MB, free: 41.63 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 4.063e-05/0.2056, allocations: 126.8 kB / 446.9 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.2056, allocations: 6.609 kB / 446.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.2057, allocations: 99.02 kB / 447 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2057, allocations: 2.656 kB / 447 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2057, allocations: 0 / 447 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2057, allocations: 4 kB / 447 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.206, allocations: 328.3 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.206, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.206, allocations: 12.11 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.206, allocations: 3 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.206, allocations: 3.5 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.206, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.206, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.2061, allocations: 188.7 kB / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.2061, allocations: 6.828 kB / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.2061, allocations: 0 / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.2061, allocations: 6.016 kB / 447.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.2062, allocations: 12.38 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.2062, allocations: 3.938 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.2062, allocations: 116.8 kB / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2062, allocations: 0 / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.2064, allocations: 19.41 kB / 447.7 MB, free: 40.96 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.0008199/0.2072, allocations: 1.044 MB / 448.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2073, allocations: 49.05 kB / 448.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2073, allocations: 2.594 kB / 448.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.2073, allocations: 31.03 kB / 448.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2076, allocations: 18.95 kB / 448.8 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.2084, allocations: 1.46 MB / 450.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.2085, allocations: 81.14 kB / 450.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.2085, allocations: 14.62 kB / 450.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.2086, allocations: 32.86 kB / 450.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2086, allocations: 0 / 450.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.2239, allocations: 3.276 MB / 453.7 MB, free: 37.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.995, allocations: 14.67 kB / 453.7 MB, free: 37.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.118729501962662]