Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.0007199/0.0007199, allocations: 91.61 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.0007515/0.0007515, allocations: 172.4 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.333/1.333, allocations: 223.3 MB / 242.3 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.24 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 13.25 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1125, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002221/0.1147, allocations: 1.562 MB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1163, allocations: 0.8931 MB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1165, allocations: 4 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004619/0.117, allocations: 247.4 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.1173, allocations: 179.5 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1187, allocations: 0.605 MB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1191, allocations: 267.2 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1192, allocations: 48.31 kB / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.1194, allocations: 115.5 kB / 476.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.1197, allocations: 163.5 kB / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1197, allocations: 3.938 kB / 476.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1198, allocations: 47.91 kB / 476.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.12, allocations: 87.67 kB / 476.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.1201, allocations: 128.8 kB / 476.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1203, allocations: 258.9 kB / 476.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1204, allocations: 4 kB / 476.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1204, allocations: 0 / 476.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1204, allocations: 0 / 476.9 MB, free: 8.66 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006434/0.121, allocations: 0.5798 MB / 477.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1211, allocations: 8.031 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.1211, allocations: 42.73 kB / 477.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1212, allocations: 40.38 kB / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1215, allocations: 318.2 kB / 477.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1215, allocations: 8.375 kB / 477.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1216, allocations: 4.375 kB / 477.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1218, allocations: 105.5 kB / 478 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1218, allocations: 0 / 478 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1218, allocations: 0 / 478 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1218, allocations: 4 kB / 478 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.122, allocations: 71.95 kB / 478.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.1226, allocations: 476.3 kB / 478.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1227, allocations: 70.53 kB / 478.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.1228, allocations: 32.97 kB / 478.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1228, allocations: 11.98 kB / 478.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1229, allocations: 34.56 kB / 478.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1229, allocations: 0 / 478.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000354/0.1232, allocations: 157.2 kB / 478.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1233, allocations: 55.34 kB / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.1238, allocations: 0.5603 MB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1238, allocations: 25.7 kB / 479.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.124, allocations: 200.1 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.124, allocations: 15.75 kB / 479.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.1241, allocations: 17.66 kB / 479.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1242, allocations: 350.8 kB / 480.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.1243, allocations: 31.97 kB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.1243, allocations: 27.98 kB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1245, allocations: 68.83 kB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1245, allocations: 3.938 kB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002119/0.1247, allocations: 129.6 kB / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1247, allocations: 4 kB / 480.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1247, allocations: 4.062 kB / 480.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1247, allocations: 7.938 kB / 480.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.1248, allocations: 19.92 kB / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1248, allocations: 0 / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.1249, allocations: 7.906 kB / 480.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1249, allocations: 4 kB / 480.4 MB, free: 4.977 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 (6): * Single equations (assignments): 6 * 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.0001389/0.1251, allocations: 169.8 kB / 480.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1251, allocations: 35.53 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1254, allocations: 156.9 kB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1254, allocations: 3.938 kB / 480.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1254, allocations: 3.984 kB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.1254, allocations: 0 / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1257, allocations: 289.5 kB / 481 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1257, allocations: 0 / 481 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.1258, allocations: 11.98 kB / 481 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1258, allocations: 4 kB / 481 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1258, allocations: 4 kB / 481 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.1258, allocations: 3.938 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1258, allocations: 0 / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1261, allocations: 227 kB / 481.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1261, allocations: 128.5 kB / 481.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1262, allocations: 3.984 kB / 481.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.1263, allocations: 11.94 kB / 481.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1263, allocations: 8 kB / 481.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1263, allocations: 0 / 481.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003777/0.1267, allocations: 423 kB / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1267, allocations: 0 / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.127, allocations: 31.98 kB / 481.9 MB, free: 3.395 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 (6): * Single equations (assignments): 6 * 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.001657/0.1286, allocations: 1.253 MB / 483.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1288, allocations: 67.95 kB / 483.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1288, allocations: 4 kB / 483.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.1289, allocations: 39.86 kB / 483.2 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1294, allocations: 65.45 kB / 483.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.1324, allocations: 2.935 MB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1327, allocations: 0.8025 MB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1329, allocations: 57.47 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.133, allocations: 103.4 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.133, allocations: 0 / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.1496, allocations: 6.069 MB / 493.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.1498, allocations: 233.1 kB / 493.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.911, allocations: 0 / 493.5 MB, free: 8.004 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches