Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.0007406/0.0007404, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.0007104/0.0007103, allocations: 176.7 kB / 18.25 MB, free: 5.527 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.286/1.286, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.206/0.206, allocations: 44.23 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002955, allocations: 12 kB / 410.4 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002314/0.1116, allocations: 1.652 MB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1131, allocations: 0.8302 MB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1133, allocations: 4 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.1137, allocations: 235.5 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.1141, allocations: 171.5 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1152, allocations: 461.3 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1156, allocations: 267.3 kB / 476 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1158, allocations: 68.83 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1159, allocations: 111.5 kB / 476.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1161, allocations: 179.4 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1162, allocations: 4 kB / 476.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1164, allocations: 87.91 kB / 476.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1165, allocations: 79.67 kB / 476.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1166, allocations: 136.8 kB / 476.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.117, allocations: 302.8 kB / 476.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.117, allocations: 3.938 kB / 476.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.117, allocations: 0 / 476.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.117, allocations: 0 / 476.9 MB, free: 8.648 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.0006945/0.1177, allocations: 0.6014 MB / 477.5 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1178, allocations: 12.03 kB / 477.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.1178, allocations: 38.75 kB / 477.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.1179, allocations: 44.38 kB / 477.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1182, allocations: 318.3 kB / 477.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1182, allocations: 8.375 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1183, allocations: 16.38 kB / 477.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1185, allocations: 113.5 kB / 478.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1185, allocations: 7.906 kB / 478.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1185, allocations: 4 kB / 478.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1186, allocations: 4 kB / 478.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1187, allocations: 75.89 kB / 478.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.1194, allocations: 496.3 kB / 478.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1195, allocations: 94.48 kB / 478.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.1196, allocations: 40.84 kB / 478.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.1197, allocations: 3.984 kB / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1197, allocations: 42.48 kB / 478.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1197, allocations: 0 / 478.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008748/0.1206, allocations: 396.1 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1206, allocations: 59.31 kB / 479.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.1212, allocations: 0.5409 MB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1212, allocations: 33.7 kB / 479.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1214, allocations: 204.3 kB / 480 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.1214, allocations: 59.19 kB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1215, allocations: 21.7 kB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1216, allocations: 350.8 kB / 480.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1217, allocations: 55.91 kB / 480.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1218, allocations: 51.98 kB / 480.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1221, allocations: 139 kB / 480.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1221, allocations: 0 / 480.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003374/0.1224, allocations: 201.2 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1224, allocations: 4 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1225, allocations: 0 / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1225, allocations: 0 / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1226, allocations: 43.91 kB / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1226, allocations: 0 / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.1227, allocations: 11.91 kB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1227, allocations: 15.98 kB / 481 MB, free: 4.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 (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.0001531/0.1229, allocations: 169.8 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.123, allocations: 39.47 kB / 481.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.1234, allocations: 251.5 kB / 481.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1234, allocations: 0 / 481.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1234, allocations: 4 kB / 481.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1234, allocations: 3.984 kB / 481.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.1242, allocations: 0.6308 MB / 482 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1242, allocations: 7.938 kB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1243, allocations: 35.98 kB / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1243, allocations: 0 / 482.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1243, allocations: 4 kB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1243, allocations: 7.875 kB / 482.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1243, allocations: 0 / 482.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.1247, allocations: 308.8 kB / 482.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.1248, allocations: 124.6 kB / 482.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1248, allocations: 0 / 482.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.1249, allocations: 15.94 kB / 482.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.125, allocations: 15.98 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.125, allocations: 7.984 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003754/0.1254, allocations: 407.1 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1254, allocations: 4 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.1257, allocations: 44 kB / 483 MB, free: 2.215 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.002007/0.1277, allocations: 1.423 MB / 484.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.128, allocations: 139.9 kB / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.128, allocations: 0 / 484.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1282, allocations: 83.81 kB / 484.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.1287, allocations: 69.44 kB / 484.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.1324, allocations: 3.178 MB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1328, allocations: 0.8065 MB / 488.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1329, allocations: 45.89 kB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1331, allocations: 119.4 kB / 488.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1331, allocations: 4 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1493, allocations: 6.645 MB / 495.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.1495, allocations: 236.1 kB / 495.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.059, allocations: 4 kB / 495.7 MB, free: 5.75 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches