Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.001099/0.001099, allocations: 100.8 kB / 17.63 MB, free: 5.547 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.00114/0.00114, allocations: 195.8 kB / 18.57 MB, free: 4.617 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.355/1.355, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2381/0.2381, allocations: 44.19 MB / 336.6 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.09 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1011, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003541/0.1047, allocations: 1.634 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.1056, allocations: 439.1 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.1056, allocations: 0 / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.1062, allocations: 447.1 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005097/0.1068, allocations: 259.4 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1071, allocations: 123.6 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1073, allocations: 163.7 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1075, allocations: 19.98 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1076, allocations: 111.8 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1078, allocations: 207.6 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1079, allocations: 4 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.108, allocations: 51.97 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1081, allocations: 83.69 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.1082, allocations: 111 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1085, allocations: 267.2 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1086, allocations: 0 / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1086, allocations: 0 / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1086, 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.0007128/0.1093, allocations: 0.6375 MB / 473.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1093, allocations: 12.03 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1094, allocations: 38.69 kB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1094, allocations: 40.47 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.1098, allocations: 300.1 kB / 474.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1098, allocations: 8.375 kB / 474.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1099, allocations: 4.375 kB / 474.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.11, allocations: 57.62 kB / 474.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.11, allocations: 3.938 kB / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.11, allocations: 0 / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.11, allocations: 0 / 474.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.1101, allocations: 35.97 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.1106, allocations: 400.6 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1108, allocations: 42.59 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1108, allocations: 20.94 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1108, allocations: 0 / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1109, allocations: 34.56 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1109, allocations: 4 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009322/0.1118, allocations: 296.2 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1119, allocations: 59.33 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.1126, allocations: 0.8652 MB / 476.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1127, allocations: 29.7 kB / 476.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1129, allocations: 231.9 kB / 476.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1129, allocations: 31.48 kB / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1129, allocations: 25.72 kB / 476.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1131, allocations: 354.8 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.1132, allocations: 31.97 kB / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.1132, allocations: 19.98 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1134, allocations: 64.83 kB / 476.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1134, allocations: 0 / 476.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002245/0.1136, allocations: 137.1 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1137, allocations: 6.969 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1137, allocations: 0 / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1137, allocations: 0 / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1138, allocations: 27.86 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1138, allocations: 0 / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.1139, allocations: 15.98 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1139, allocations: 0 / 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.0001758/0.1141, allocations: 209.8 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.1141, allocations: 39.53 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.1145, allocations: 169.6 kB / 477.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1145, allocations: 7.938 kB / 477.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1145, allocations: 3.984 kB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1145, allocations: 0 / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.1151, allocations: 0.4993 MB / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1151, allocations: 0 / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.1152, allocations: 19.98 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1152, allocations: 4.031 kB / 478 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1152, allocations: 4 kB / 478 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1152, allocations: 0 / 478 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1152, allocations: 4 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1155, allocations: 235.7 kB / 478.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1156, allocations: 116.5 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.1156, allocations: 8 kB / 478.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.1157, allocations: 4 kB / 478.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1158, allocations: 7.984 kB / 478.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1158, allocations: 4 kB / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006015/0.1164, allocations: 0.655 MB / 479 MB, free: 4.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1164, allocations: 0 / 479 MB, free: 4.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1167, allocations: 27.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.001575/0.1183, allocations: 1.123 MB / 480.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1185, allocations: 67.95 kB / 480.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1185, allocations: 0 / 480.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.1186, allocations: 31.92 kB / 480.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.119, allocations: 36.09 kB / 480.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.1226, allocations: 3.342 MB / 483.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.123, allocations: 0.8221 MB / 484.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.838e-05/0.1231, allocations: 24.72 kB / 484.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1232, allocations: 103.4 kB / 484.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1232, allocations: 4 kB / 484.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1456, allocations: 6.142 MB / 490.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.769, allocations: 2.812 kB / 490.7 MB, free: 8.684 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches