Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001793/0.001793, allocations: 79.2 kB / 20.49 MB, free: 1.387 MB / 14.72 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.001554/0.001554, allocations: 162.2 kB / 23.74 MB, free: 4.578 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 204 MB, free: 9.289 MB / 190.1 MB " [Timeout remaining time 178] 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.2104/0.2104, allocations: 34.25 MB / 294.7 MB, free: 14.68 MB / 286.1 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.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 91.86 kB / 441.9 MB, free: 6.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3001, allocations: 66.05 MB / 0.4961 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003161/0.3033, allocations: 1.668 MB / 0.4977 GB, free: 148 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3044, allocations: 0.5412 MB / 0.4982 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.3045, allocations: 0 / 0.4982 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.3052, allocations: 455.1 kB / 0.4987 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.3057, allocations: 303.3 kB / 0.499 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.3061, allocations: 130.6 kB / 0.4991 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.3064, allocations: 175.6 kB / 0.4992 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3065, allocations: 18.33 kB / 0.4993 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3067, allocations: 127.7 kB / 0.4994 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.307, allocations: 251.5 kB / 0.4996 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.307, allocations: 4 kB / 0.4996 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3071, allocations: 55.91 kB / 0.4997 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3072, allocations: 83.69 kB / 0.4998 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.3073, allocations: 75.17 kB / 0.4998 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.3077, allocations: 286.5 kB / 0.5001 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3077, allocations: 3.938 kB / 0.5001 GB, free: 13.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3077, allocations: 11.92 kB / 0.5001 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3077, allocations: 0 / 0.5001 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008692/0.3086, allocations: 0.6036 MB / 0.5007 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3086, allocations: 8.031 kB / 0.5007 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.515e-05/0.3087, allocations: 34.69 kB / 0.5008 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.3088, allocations: 44.66 kB / 0.5008 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3091, allocations: 254.8 kB / 0.501 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3091, allocations: 4.375 kB / 0.501 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3091, allocations: 4.359 kB / 0.501 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3092, allocations: 62.23 kB / 0.5011 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3093, allocations: 7.938 kB / 0.5011 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3093, allocations: 7.938 kB / 0.5011 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3093, allocations: 4 kB / 0.5011 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3094, allocations: 35.95 kB / 0.5012 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.3099, allocations: 363.8 kB / 0.5015 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3101, allocations: 54.59 kB / 0.5016 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.3102, allocations: 28.97 kB / 0.5016 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3102, allocations: 0 / 0.5016 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.3103, allocations: 42.55 kB / 0.5016 GB, free: 11.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.3103, allocations: 0 / 0.5016 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001451/0.3117, allocations: 472.7 kB / 0.5021 GB, free: 11.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3118, allocations: 59.33 kB / 0.5021 GB, free: 11.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.3127, allocations: 0.8815 MB / 0.503 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3127, allocations: 25.7 kB / 0.503 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3129, allocations: 220 kB / 0.5032 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3129, allocations: 39.67 kB / 0.5033 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.313, allocations: 25.72 kB / 0.5033 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3131, allocations: 362.8 kB / 0.5036 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3133, allocations: 39.97 kB / 0.5037 GB, free: 9.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3134, allocations: 44.02 kB / 0.5037 GB, free: 9.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.3136, allocations: 104.8 kB / 0.5038 GB, free: 9.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3136, allocations: 0 / 0.5038 GB, free: 9.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003389/0.314, allocations: 177.3 kB / 0.504 GB, free: 9.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.314, allocations: 4 kB / 0.504 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.314, allocations: 7.938 kB / 0.504 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.314, allocations: 3.938 kB / 0.504 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3141, allocations: 31.97 kB / 0.504 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3141, allocations: 3.938 kB / 0.504 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.3142, allocations: 11.98 kB / 0.504 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3142, allocations: 0 / 0.504 GB, free: 9.438 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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 0.0002257/0.3144, allocations: 218.7 kB / 0.5043 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.3145, allocations: 47.67 kB / 0.5043 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.3149, allocations: 213.4 kB / 0.5045 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3149, allocations: 0 / 0.5045 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.315, allocations: 3.938 kB / 0.5045 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.315, allocations: 0 / 0.5045 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.3158, allocations: 0.5264 MB / 0.505 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3158, allocations: 3.938 kB / 0.505 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3159, allocations: 28.05 kB / 0.5051 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3159, allocations: 0 / 0.5051 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3159, allocations: 4.188 kB / 0.5051 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3159, allocations: 4 kB / 0.5051 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3159, allocations: 0 / 0.5051 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.3163, allocations: 288.8 kB / 0.5053 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.67e-05/0.3164, allocations: 47.59 kB / 0.5054 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.3164, allocations: 4 kB / 0.5054 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3165, allocations: 15.98 kB / 0.5054 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3166, allocations: 7.984 kB / 0.5054 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3166, allocations: 8 kB / 0.5054 GB, free: 7.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.3173, allocations: 0.6511 MB / 0.5061 GB, free: 7.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3173, allocations: 0 / 0.5061 GB, free: 7.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.3176, allocations: 35.92 kB / 0.5061 GB, free: 7.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002521/0.3201, allocations: 1.201 MB / 0.5073 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.3204, allocations: 103.9 kB / 0.5074 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3204, allocations: 0 / 0.5074 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3206, allocations: 55.89 kB / 0.5074 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.321, allocations: 30.45 kB / 0.5074 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.3254, allocations: 3.47 MB / 0.5108 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3257, allocations: 228.8 kB / 0.511 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.3257, allocations: 24.47 kB / 0.5111 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3259, allocations: 112.5 kB / 0.5112 GB, free: 2.062 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3259, allocations: 0 / 0.5112 GB, free: 2.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3608, allocations: 7.19 MB / 0.5182 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.41, allocations: 11.88 kB / 0.5182 GB, free: 10.88 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_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_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.380132233723998]