Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001076/0.001076, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001166/0.001165, allocations: 192 kB / 18.55 MB, free: 4.566 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2064/0.2064, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.92 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003486/0.111, allocations: 1.969 MB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1126, allocations: 0.959 MB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1128, allocations: 4 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1132, allocations: 267.2 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.1136, allocations: 187.3 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1149, allocations: 0.6501 MB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1153, allocations: 303.3 kB / 473.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1155, allocations: 76.56 kB / 473.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1156, allocations: 135.5 kB / 473.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1158, allocations: 203.3 kB / 474.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1159, allocations: 8 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.116, allocations: 67.92 kB / 474.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1161, allocations: 87.73 kB / 474.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1163, allocations: 135 kB / 474.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1166, allocations: 314.8 kB / 474.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1166, allocations: 0 / 474.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1166, allocations: 0 / 474.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1166, allocations: 0 / 474.7 MB, free: 8.941 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007443/0.1174, allocations: 0.6457 MB / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1174, allocations: 12.03 kB / 475.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.1175, allocations: 46.73 kB / 475.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.1176, allocations: 44.31 kB / 475.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1179, allocations: 330.2 kB / 475.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.118, allocations: 8.375 kB / 475.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.118, allocations: 16.28 kB / 475.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1182, allocations: 121.6 kB / 475.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1183, allocations: 3.938 kB / 475.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.1183, allocations: 8 kB / 475.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1183, allocations: 3.984 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.1185, allocations: 91.88 kB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.1192, allocations: 0.512 MB / 476.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1194, allocations: 114.4 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.1195, allocations: 36.84 kB / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1195, allocations: 8 kB / 476.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1196, allocations: 42.48 kB / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1196, allocations: 0 / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001037/0.1206, allocations: 432.6 kB / 477.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1207, allocations: 51.41 kB / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.1213, allocations: 0.5603 MB / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.1213, allocations: 33.64 kB / 477.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.1215, allocations: 200.4 kB / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.1215, allocations: 63.09 kB / 478 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.1216, allocations: 33.7 kB / 478.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1217, allocations: 350.8 kB / 478.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1219, allocations: 67.95 kB / 478.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.122, allocations: 67.95 kB / 478.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1223, allocations: 159.1 kB / 478.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1223, allocations: 0 / 478.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003809/0.1227, allocations: 229 kB / 478.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1227, allocations: 5.562 kB / 478.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1227, allocations: 0 / 478.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1228, allocations: 0 / 478.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1229, allocations: 39.92 kB / 479 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1229, allocations: 7.984 kB / 479 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.123, allocations: 11.91 kB / 479 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.123, allocations: 4 kB / 479 MB, free: 4.406 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 (17): * Single equations (assignments): 17 * 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.0001697/0.1232, allocations: 185.7 kB / 479.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.1233, allocations: 35.53 kB / 479.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.1238, allocations: 285.4 kB / 479.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1238, allocations: 4 kB / 479.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1238, allocations: 0 / 479.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1238, allocations: 0 / 479.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.1246, allocations: 0.6806 MB / 480.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1246, allocations: 4 kB / 480.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1248, allocations: 39.86 kB / 480.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1248, allocations: 0 / 480.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1248, allocations: 8 kB / 480.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1248, allocations: 3.938 kB / 480.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1248, allocations: 0 / 480.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.1252, allocations: 326.9 kB / 480.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.1253, allocations: 120.6 kB / 480.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1254, allocations: 0 / 480.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1255, allocations: 15.94 kB / 480.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.1255, allocations: 11.97 kB / 480.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1255, allocations: 8 kB / 480.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000407/0.126, allocations: 411.1 kB / 481.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.126, allocations: 0 / 481.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1263, allocations: 51.98 kB / 481.1 MB, free: 2.137 MB / 350.1 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 (17): * Single equations (assignments): 17 * 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.002164/0.1284, allocations: 1.455 MB / 482.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.1288, allocations: 174.4 kB / 482.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1288, allocations: 4 kB / 482.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.129, allocations: 87.89 kB / 482.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.1295, allocations: 87.55 kB / 482.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.1332, allocations: 3.223 MB / 486.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1336, allocations: 0.8143 MB / 487 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.1338, allocations: 58.23 kB / 487 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1339, allocations: 123.4 kB / 487.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1339, allocations: 4 kB / 487.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1604, allocations: 7.352 MB / 494.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.03, allocations: 7.984 kB / 494.5 MB, free: 5.031 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches