Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.0009569/0.0009571, allocations: 97.02 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000983/0.000983, allocations: 178.2 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3562/0.3562, allocations: 43.57 MB / 315 MB, free: 9.074 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005083, allocations: 20 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.85 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001992/0.124, allocations: 1.329 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007076/0.1247, allocations: 335.7 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.1247, allocations: 0 / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.1254, allocations: 451.2 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.1256, allocations: 243.6 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.126, allocations: 147.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1262, allocations: 155.7 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.1263, allocations: 28.38 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1265, allocations: 99.73 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1268, allocations: 199.6 kB / 446.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1268, allocations: 3.938 kB / 446.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.1269, allocations: 31.91 kB / 446.5 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.127, allocations: 83.69 kB / 446.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1271, allocations: 124.7 kB / 446.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.1274, allocations: 255 kB / 447 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1274, allocations: 0 / 447 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1274, allocations: 0 / 447 MB, free: 9.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1274, allocations: 0 / 447 MB, free: 9.348 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006533/0.1281, allocations: 0.591 MB / 447.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1281, allocations: 8.031 kB / 447.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1282, allocations: 38.75 kB / 447.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1282, allocations: 40.38 kB / 447.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1285, allocations: 304.2 kB / 448 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1285, allocations: 4.375 kB / 448 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1286, allocations: 12.03 kB / 448 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1287, allocations: 57.67 kB / 448 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1287, allocations: 0 / 448 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1287, allocations: 0 / 448 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1288, allocations: 0 / 448 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1289, allocations: 39.91 kB / 448.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.1294, allocations: 400.7 kB / 448.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1296, allocations: 46.56 kB / 448.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1297, allocations: 20.94 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1297, allocations: 7.938 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1297, allocations: 34.56 kB / 448.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1297, allocations: 0 / 448.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005952/0.1303, allocations: 251.9 kB / 448.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1304, allocations: 55.41 kB / 448.9 MB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.1314, allocations: 0.8652 MB / 449.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1314, allocations: 29.7 kB / 449.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.1316, allocations: 216.1 kB / 450 MB, free: 6.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1317, allocations: 23.73 kB / 450 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.1317, allocations: 13.72 kB / 450 MB, free: 6.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1318, allocations: 358.8 kB / 450.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1319, allocations: 27.97 kB / 450.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.132, allocations: 27.98 kB / 450.4 MB, free: 5.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1321, allocations: 65.02 kB / 450.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1322, allocations: 0 / 450.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002211/0.1324, allocations: 133 kB / 450.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1324, allocations: 8 kB / 450.6 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1324, allocations: 7.938 kB / 450.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1324, allocations: 0 / 450.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.1325, allocations: 15.94 kB / 450.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1325, allocations: 3.938 kB / 450.6 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.1326, allocations: 7.984 kB / 450.6 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1326, allocations: 4 kB / 450.7 MB, free: 5.438 MB / 382.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 0.0001788/0.1328, allocations: 217.7 kB / 450.9 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.1328, allocations: 43.44 kB / 450.9 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1331, allocations: 153 kB / 451.1 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1332, allocations: 0 / 451.1 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1332, allocations: 3.938 kB / 451.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1332, allocations: 0 / 451.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.1337, allocations: 478.5 kB / 451.5 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1337, allocations: 0 / 451.5 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.1338, allocations: 12 kB / 451.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1338, allocations: 3.938 kB / 451.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1338, allocations: 7.938 kB / 451.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1338, allocations: 4 kB / 451.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1338, allocations: 3.984 kB / 451.6 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1341, allocations: 223.2 kB / 451.8 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.1341, allocations: 112.6 kB / 451.9 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1342, allocations: 7.938 kB / 451.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.1343, allocations: 4.281 kB / 451.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1343, allocations: 11.98 kB / 451.9 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1343, allocations: 0 / 451.9 MB, free: 4.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005931/0.1349, allocations: 0.655 MB / 452.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 452.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000357/0.1353, allocations: 28 kB / 452.6 MB, free: 3.387 MB / 382.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.001437/0.1367, allocations: 1.067 MB / 453.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1369, allocations: 59.97 kB / 453.7 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.137, allocations: 0 / 453.7 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.137, allocations: 35.92 kB / 453.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1374, allocations: 26.23 kB / 453.8 MB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2052/0.3427, allocations: 3.349 MB / 457.1 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.343, allocations: 0.8279 MB / 458 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.245e-05/0.3432, allocations: 16.11 kB / 458 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.3433, allocations: 115.4 kB / 458.1 MB, free: 43.86 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3434, allocations: 0.8125 kB / 458.1 MB, free: 43.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.3637, allocations: 5.442 MB / 463.5 MB, free: 43.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.3639, allocations: 240.3 kB / 463.8 MB, free: 43.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.255, allocations: 0 / 463.8 MB, free: 43.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches