Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.0008271/0.0008271, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.000843/0.000843, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.32/1.32, allocations: 223.3 MB / 242.3 MB, free: 220 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.196/0.196, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002238/0.1251, allocations: 1.278 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1268, allocations: 0.9999 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.1269, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1271, allocations: 19.92 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1274, allocations: 35.84 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1278, allocations: 95.14 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1279, allocations: 55.91 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1281, allocations: 15.98 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.1281, allocations: 15.92 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1283, allocations: 31.8 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1283, allocations: 0 / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1285, allocations: 43.95 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.1285, allocations: 11.94 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.1286, allocations: 41.58 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1288, allocations: 92.03 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1288, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1288, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1288, allocations: 4 kB / 475.1 MB, free: 10.5 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.0005678/0.1294, allocations: 367.3 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1295, allocations: 12.03 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.1295, allocations: 38.69 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1296, allocations: 4.938 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1298, allocations: 188.2 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1298, allocations: 4.312 kB / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1299, allocations: 4.375 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1301, allocations: 67.34 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1301, allocations: 3.906 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1301, allocations: 3.938 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1301, allocations: 4 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1302, allocations: 31.91 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.1307, allocations: 280.9 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1309, allocations: 42.56 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.131, allocations: 20.94 kB / 476.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.131, allocations: 4 kB / 476.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1311, allocations: 38.5 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1311, allocations: 0 / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006363/0.1317, allocations: 161.4 kB / 476.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.1318, allocations: 85.05 kB / 476.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1319, allocations: 137 kB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1319, allocations: 25.7 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.132, allocations: 99.98 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.132, allocations: 15.8 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.1321, allocations: 13.72 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1322, allocations: 318.8 kB / 477 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.1323, allocations: 23.98 kB / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.1324, allocations: 45.69 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1325, allocations: 61.05 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1325, allocations: 0 / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1327, allocations: 97.5 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1328, allocations: 10.5 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1328, allocations: 4 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1328, allocations: 0 / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.1329, allocations: 12 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1329, allocations: 0 / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.1329, allocations: 11.98 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1329, allocations: 7.938 kB / 477.3 MB, free: 8.051 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.499e-05/0.133, allocations: 113.8 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1331, allocations: 8 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.1333, allocations: 105.8 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1333, allocations: 0 / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1333, allocations: 0 / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1334, allocations: 3.984 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1338, allocations: 370.3 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1338, allocations: 0 / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.1339, allocations: 15.98 kB / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1339, allocations: 3.938 kB / 477.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.1339, allocations: 0 / 477.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1339, allocations: 7.938 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1339, allocations: 7.938 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1341, allocations: 183.7 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1342, allocations: 89.02 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1342, allocations: 0 / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1343, allocations: 15.92 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1343, allocations: 4 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1343, allocations: 0 / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.1344, allocations: 107.2 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 0 / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1347, allocations: 24 kB / 478.3 MB, free: 6.906 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.001425/0.1361, allocations: 1.063 MB / 479.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1364, allocations: 63.95 kB / 479.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1364, allocations: 0 / 479.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.1365, allocations: 35.92 kB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1368, allocations: 19.92 kB / 479.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1382, allocations: 1.426 MB / 480.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1385, allocations: 0.6926 MB / 481.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.076e-05/0.1385, allocations: 15.98 kB / 481.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.1386, allocations: 23.42 kB / 481.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1386, allocations: 3.938 kB / 481.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.1528, allocations: 2.341 MB / 484 MB, free: 1.383 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.1531, allocations: 239.2 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.93, allocations: 0 / 484.2 MB, free: 1.125 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches