Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1954/0.1954, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 69.98 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 60.81 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002798/0.1058, allocations: 1.635 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.1065, allocations: 431.1 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.1066, allocations: 0 / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.1071, allocations: 447.1 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.1074, allocations: 259.4 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1077, allocations: 121.9 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1079, allocations: 167.7 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.108, allocations: 19.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.1081, allocations: 111.7 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1083, allocations: 207.6 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1084, allocations: 8 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1085, allocations: 51.97 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1086, allocations: 83.69 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.1087, allocations: 107 kB / 473 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1089, allocations: 267.2 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1089, allocations: 4 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1089, allocations: 0 / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.109, allocations: 0 / 473.2 MB, free: 10.4 MB / 350.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.0006305/0.1096, allocations: 0.6375 MB / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1096, allocations: 15.97 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.1097, allocations: 34.75 kB / 473.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.1097, allocations: 40.47 kB / 474 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.11, allocations: 308.1 kB / 474.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.11, allocations: 384 / 474.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.11, allocations: 4.375 kB / 474.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1102, allocations: 57.62 kB / 474.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1102, allocations: 3.938 kB / 474.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1102, allocations: 4 kB / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1102, allocations: 3.984 kB / 474.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.1103, allocations: 31.97 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1108, allocations: 400.6 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1109, allocations: 46.59 kB / 474.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.111, allocations: 16.94 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.111, allocations: 4 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.111, allocations: 30.56 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.111, allocations: 0 / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009182/0.112, allocations: 307.8 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.112, allocations: 55.34 kB / 475.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007764/0.1128, allocations: 0.8652 MB / 476.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1128, allocations: 29.64 kB / 476.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.113, allocations: 224 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.113, allocations: 31.55 kB / 476.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1131, allocations: 21.72 kB / 476.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1132, allocations: 362.8 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.1133, allocations: 27.92 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.1134, allocations: 23.98 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1136, allocations: 61.06 kB / 476.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1136, allocations: 0 / 476.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002314/0.1138, allocations: 137.1 kB / 477 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1138, allocations: 8 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1138, allocations: 4 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1139, allocations: 0 / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.114, allocations: 23.86 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.114, allocations: 4 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.114, allocations: 7.984 kB / 477 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1141, allocations: 4 kB / 477 MB, free: 6.371 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001898/0.1143, allocations: 209.8 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.1143, allocations: 39.53 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.1147, allocations: 161.3 kB / 477.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1147, allocations: 7.938 kB / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1147, allocations: 3.984 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1147, allocations: 0 / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.1153, allocations: 0.507 MB / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1153, allocations: 0 / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.1154, allocations: 15.98 kB / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1154, allocations: 4 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1154, allocations: 0 / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1154, allocations: 0 / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1154, allocations: 0 / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.1157, allocations: 243.7 kB / 478.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.1158, allocations: 120.5 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1158, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.1159, allocations: 4 kB / 478.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.116, allocations: 16.34 kB / 478.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.116, allocations: 0 / 478.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005706/0.1166, allocations: 0.6511 MB / 479 MB, free: 4.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1166, allocations: 4 kB / 479 MB, free: 4.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1168, allocations: 31.98 kB / 479 MB, free: 4.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001448/0.1183, allocations: 1.125 MB / 480.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1185, allocations: 59.95 kB / 480.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1185, allocations: 4 kB / 480.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.1187, allocations: 39.92 kB / 480.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.119, allocations: 27.58 kB / 480.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.1227, allocations: 3.33 MB / 483.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1232, allocations: 0.8299 MB / 484.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.1233, allocations: 20.7 kB / 484.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1234, allocations: 103.4 kB / 484.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1235, allocations: 0 / 484.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1477, allocations: 6.147 MB / 490.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.784, allocations: 8.062 kB / 490.7 MB, free: 8.684 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches