Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001248/0.001248, 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.001527/0.001527, 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.9767/0.9767, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.25/0.25, allocations: 32.8 MB / 293.5 MB, free: 1.219 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.391e-05, allocations: 2.281 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002527/0.002551, allocations: 1.594 MB / 441.2 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.003514, allocations: 0.5219 MB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.003601, allocations: 0 / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.003887, allocations: 27.78 kB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.004231, allocations: 75.58 kB / 441.8 MB, free: 2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.004482, allocations: 91.69 kB / 441.9 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.004616, allocations: 71.77 kB / 442 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004717, allocations: 11.98 kB / 442 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.004774, allocations: 27.92 kB / 442 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.004826, allocations: 11.92 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.00484, allocations: 4 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.004914, allocations: 35.92 kB / 442.1 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.004963, allocations: 11.92 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.004988, allocations: 15.92 kB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.005157, allocations: 83.66 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005159, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.00516, allocations: 4 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005165, allocations: 3.938 kB / 442.2 MB, free: 1.633 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.0003693/0.005534, allocations: 309.9 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.005577, allocations: 12.03 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.005606, allocations: 30.75 kB / 442.5 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.005634, allocations: 8.891 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.00578, allocations: 132.2 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.00579, allocations: 4.375 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.005809, allocations: 384 / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.005931, allocations: 50.25 kB / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.005946, allocations: 8.125 kB / 442.7 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.005963, allocations: 3.938 kB / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005968, allocations: 0 / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.006034, allocations: 23.97 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.00635, allocations: 240 kB / 443 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.006544, allocations: 46.44 kB / 443 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.006577, allocations: 12.86 kB / 443 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.006602, allocations: 0 / 443 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.006624, allocations: 46.58 kB / 443.1 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.006625, allocations: 3.984 kB / 443.1 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004787/0.007104, allocations: 141.4 kB / 443.2 MB, free: 456 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.007146, allocations: 55.41 kB / 443.3 MB, free: 388 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.007274, allocations: 152.5 kB / 443.4 MB, free: 224 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.007288, allocations: 25.7 kB / 443.5 MB, free: 192 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.007342, allocations: 96.12 kB / 443.6 MB, free: 92 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.007367, allocations: 15.86 kB / 443.6 MB, free: 76 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.007403, allocations: 25.7 kB / 443.6 MB, free: 44 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1966/0.204, allocations: 318.6 kB / 443.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.204, allocations: 20.64 kB / 443.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.2041, allocations: 20.77 kB / 443.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.2042, allocations: 45.33 kB / 444 MB, free: 46.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2042, allocations: 0 / 444 MB, free: 46.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001207/0.2043, allocations: 81.83 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2043, allocations: 5.906 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2043, allocations: 0 / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2043, allocations: 0 / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/0.2044, allocations: 18.45 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2044, allocations: 0 / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.2044, allocations: 7.047 kB / 444.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2044, allocations: 3.625 kB / 444.1 MB, free: 46.05 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.389e-05/0.2044, allocations: 117.6 kB / 444.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.2045, allocations: 11.47 kB / 444.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.2046, allocations: 87.23 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2046, allocations: 2.219 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2046, allocations: 6.844 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2046, allocations: 5.25 kB / 444.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.2049, allocations: 306.4 kB / 444.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2049, allocations: 0 / 444.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.2049, allocations: 15.48 kB / 444.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2049, allocations: 3.938 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.2049, allocations: 3.469 kB / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2049, allocations: 0 / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2049, allocations: 0 / 444.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.234e-05/0.205, allocations: 181.7 kB / 444.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.205, allocations: 9.703 kB / 444.8 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.205, allocations: 5.625 kB / 444.8 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.234e-05/0.205, allocations: 5.875 kB / 444.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.2051, allocations: 5.891 kB / 444.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2051, allocations: 3.75 kB / 444.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.2051, allocations: 118.8 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 0 / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.2053, allocations: 17.17 kB / 445 MB, free: 45.43 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.0007587/0.206, allocations: 1.041 MB / 446 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2061, allocations: 47.06 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2061, allocations: 0 / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.2062, allocations: 23.17 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2064, allocations: 26.11 kB / 446.1 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.2072, allocations: 1.445 MB / 447.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.2073, allocations: 78.8 kB / 447.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.2073, allocations: 13.39 kB / 447.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.2073, allocations: 25.11 kB / 447.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2073, allocations: 2.812 kB / 447.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.2213, allocations: 3.251 MB / 450.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.109, allocations: 9.375 kB / 451 MB, free: 42.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.32342447154224]