Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001071/0.001071, allocations: 102.8 kB / 17.63 MB, free: 5.336 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.001012/0.001012, allocations: 192 kB / 18.55 MB, free: 4.43 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.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2112/0.2112, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 68.69 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003629/0.1053, allocations: 1.647 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.1062, allocations: 427.1 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.1063, allocations: 4 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.1068, allocations: 455.1 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.1073, allocations: 251.4 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1077, allocations: 130.8 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1079, allocations: 167.7 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1081, allocations: 19.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1083, allocations: 107.8 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.1085, allocations: 215.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1085, allocations: 4 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1087, allocations: 63.89 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.1088, allocations: 75.7 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.1089, allocations: 107 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1092, allocations: 271.2 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1092, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1092, allocations: 0 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1092, allocations: 4 kB / 473.3 MB, free: 10.38 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.0008281/0.11, allocations: 0.6453 MB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1101, allocations: 8.031 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1101, allocations: 38.75 kB / 473.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.1102, allocations: 40.38 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1105, allocations: 300.2 kB / 474.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1105, allocations: 8.312 kB / 474.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1105, allocations: 8.281 kB / 474.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1107, allocations: 69.55 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1107, allocations: 4 kB / 474.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1107, allocations: 0 / 474.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1107, allocations: 0 / 474.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1109, allocations: 39.97 kB / 474.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1114, allocations: 400.6 kB / 474.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1116, allocations: 54.55 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.1117, allocations: 24.97 kB / 474.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1117, allocations: 4 kB / 474.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1117, allocations: 38.55 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1117, allocations: 4 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001433/0.1132, allocations: 467.5 kB / 475.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1132, allocations: 51.41 kB / 475.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.114, allocations: 0.8574 MB / 476.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.114, allocations: 29.7 kB / 476.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1142, allocations: 223.9 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1142, allocations: 39.45 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.1143, allocations: 17.72 kB / 476.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1144, allocations: 366.8 kB / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1146, allocations: 43.91 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1147, allocations: 43.97 kB / 477 MB, free: 6.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1149, allocations: 96.81 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1149, allocations: 0 / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003266/0.1153, allocations: 180.9 kB / 477.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1153, allocations: 4 kB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1153, allocations: 0 / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1153, allocations: 7.938 kB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1154, allocations: 27.98 kB / 477.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1154, allocations: 3.984 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.1155, allocations: 7.984 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1155, allocations: 8 kB / 477.4 MB, free: 6.027 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 (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.0001907/0.1157, allocations: 209.8 kB / 477.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1158, allocations: 43.52 kB / 477.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.1162, allocations: 205.7 kB / 477.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1162, allocations: 3.938 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1162, allocations: 0.5625 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1163, allocations: 0 / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.117, allocations: 0.5702 MB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.117, allocations: 3.938 kB / 478.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.1171, allocations: 27.98 kB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1171, allocations: 4 kB / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1171, allocations: 0 / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1172, allocations: 0 / 478.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1172, allocations: 4 kB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.1176, allocations: 292.6 kB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.1176, allocations: 108.5 kB / 478.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1177, allocations: 8 kB / 478.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1178, allocations: 11.98 kB / 478.8 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1178, allocations: 11.98 kB / 478.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.1179, allocations: 4.094 kB / 478.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005929/0.1185, allocations: 0.655 MB / 479.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1185, allocations: 0 / 479.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1188, allocations: 36 kB / 479.5 MB, free: 3.727 MB / 350.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.001555/0.1203, allocations: 1.172 MB / 480.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1207, allocations: 111.8 kB / 480.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1207, allocations: 0 / 480.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1208, allocations: 68.02 kB / 480.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1212, allocations: 25.47 kB / 480.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.1251, allocations: 3.453 MB / 484.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1255, allocations: 0.8268 MB / 485.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.105e-05/0.1256, allocations: 24.47 kB / 485.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.1258, allocations: 107.6 kB / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1258, allocations: 0 / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.1508, allocations: 6.322 MB / 491.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/7.782, allocations: 8.219 kB / 491.6 MB, free: 7.73 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches