Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001148/0.001149, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001127/0.001127, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.393/1.393, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2189/0.2189, allocations: 44.17 MB / 336.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 65.31 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003696/0.1228, allocations: 1.618 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1248, allocations: 0.996 MB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.1249, allocations: 0 / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.1253, allocations: 19.92 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1256, allocations: 31.84 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1259, allocations: 115.6 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1261, allocations: 51.91 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1262, allocations: 8 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.1263, allocations: 27.84 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1265, allocations: 31.86 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1265, allocations: 0 / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1266, allocations: 55.95 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1267, allocations: 11.94 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1267, allocations: 15.88 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1269, allocations: 92.05 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.127, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.127, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.127, allocations: 0 / 471.9 MB, free: 11.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005056/0.1275, allocations: 379.2 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1275, allocations: 12.03 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.1276, allocations: 34.75 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1276, allocations: 12.83 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1279, allocations: 190.7 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1279, allocations: 384 / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1279, allocations: 4.375 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1281, allocations: 71.33 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1281, allocations: 0 / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1281, allocations: 3.938 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1281, allocations: 0 / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1283, allocations: 31.92 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1287, allocations: 276.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.129, allocations: 42.56 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.129, allocations: 24.86 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1291, allocations: 4 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1291, allocations: 34.56 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1291, allocations: 0 / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006006/0.1297, allocations: 149.3 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1298, allocations: 81.09 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1299, allocations: 129.8 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1299, allocations: 33.7 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.13, allocations: 96.06 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.13, allocations: 11.81 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1301, allocations: 21.7 kB / 473.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1302, allocations: 318.8 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.1303, allocations: 19.98 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1303, allocations: 41.69 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1305, allocations: 52.83 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1305, allocations: 3.938 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00019/0.1307, allocations: 85.52 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1307, allocations: 6.5 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1307, allocations: 3.984 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1307, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.1308, allocations: 16.03 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1308, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1309, allocations: 7.984 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1309, allocations: 7.922 kB / 474.1 MB, free: 9.125 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 (5): * Single equations (assignments): 5 * 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 8.003e-05/0.131, allocations: 113.8 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.131, allocations: 7.906 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.1313, allocations: 101.8 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1313, allocations: 8 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1313, allocations: 0 / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1313, allocations: 0 / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1317, allocations: 354.4 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1317, allocations: 0 / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.1318, allocations: 15.92 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1318, allocations: 0 / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1318, allocations: 4 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1318, allocations: 7.938 kB / 474.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1318, allocations: 0 / 474.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1321, allocations: 179.4 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.1321, allocations: 85.02 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1321, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.1322, allocations: 7.938 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1323, allocations: 7.984 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1323, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.062e-05/0.1324, allocations: 107.3 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1324, allocations: 0 / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1326, allocations: 19.98 kB / 475.1 MB, free: 8.016 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 (5): * Single equations (assignments): 5 * 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.001502/0.1342, allocations: 1.057 MB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.1344, allocations: 51.97 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1344, allocations: 4 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.1345, allocations: 31.92 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1349, allocations: 21.55 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.1366, allocations: 1.419 MB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1369, allocations: 0.6924 MB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.137, allocations: 20.05 kB / 478.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1371, allocations: 23.36 kB / 478.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1371, allocations: 0 / 478.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.1531, allocations: 2.598 MB / 481 MB, free: 2.238 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.1534, allocations: 245.6 kB / 481.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.127, allocations: 0 / 481.2 MB, free: 1.973 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches