Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",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.001017/0.001017, allocations: 97.72 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.001332/0.001332, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.571/1.571, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.3689/0.3689, allocations: 43.58 MB / 315 MB, free: 9.051 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.0005601/0.0005602, allocations: 12 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1304, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002057/0.1325, allocations: 1.333 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.1332, allocations: 319.7 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.1332, allocations: 0 / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.1338, allocations: 447.2 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.1342, allocations: 251.5 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1345, allocations: 95.88 kB / 446 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1347, allocations: 159.6 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1348, allocations: 16.45 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1349, allocations: 95.8 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1352, allocations: 203.6 kB / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1352, allocations: 0 / 446.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.1353, allocations: 27.98 kB / 446.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1354, allocations: 87.67 kB / 446.5 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.1355, allocations: 120.7 kB / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1358, allocations: 254.9 kB / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1358, allocations: 0 / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1358, allocations: 0 / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1359, allocations: 3.938 kB / 446.9 MB, free: 9.43 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.0006859/0.1365, allocations: 0.5872 MB / 447.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1366, allocations: 8.031 kB / 447.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.1367, allocations: 34.75 kB / 447.5 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.1367, allocations: 40.47 kB / 447.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.137, allocations: 304.2 kB / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.137, allocations: 384 / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.137, allocations: 8.125 kB / 447.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1372, allocations: 53.67 kB / 447.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1372, allocations: 3.938 kB / 447.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1372, allocations: 0 / 447.9 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1373, allocations: 4 kB / 447.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1374, allocations: 27.97 kB / 448 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.1378, allocations: 396.6 kB / 448.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1381, allocations: 46.5 kB / 448.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.1381, allocations: 16.86 kB / 448.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1382, allocations: 7.938 kB / 448.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1382, allocations: 34.64 kB / 448.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1382, allocations: 0 / 448.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006978/0.1389, allocations: 244 kB / 448.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.139, allocations: 55.41 kB / 448.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/0.1398, allocations: 0.869 MB / 449.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1398, allocations: 25.7 kB / 449.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.14, allocations: 220.1 kB / 449.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1401, allocations: 19.66 kB / 449.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1401, allocations: 13.72 kB / 449.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1403, allocations: 366.8 kB / 450.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1403, allocations: 15.98 kB / 450.3 MB, free: 5.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.1404, allocations: 23.98 kB / 450.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1406, allocations: 60.83 kB / 450.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1406, allocations: 3.938 kB / 450.4 MB, free: 5.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002102/0.1408, allocations: 113.2 kB / 450.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1408, allocations: 8 kB / 450.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1408, allocations: 4 kB / 450.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1408, allocations: 0 / 450.5 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.1409, allocations: 15.98 kB / 450.5 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1409, allocations: 3.938 kB / 450.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.141, allocations: 8 kB / 450.5 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.141, allocations: 4 kB / 450.5 MB, free: 5.59 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.0001912/0.1412, allocations: 209.8 kB / 450.7 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1413, allocations: 43.44 kB / 450.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1415, allocations: 145.3 kB / 450.9 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1416, allocations: 4 kB / 450.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1416, allocations: 3.938 kB / 450.9 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1416, allocations: 3.984 kB / 450.9 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.1421, allocations: 466.5 kB / 451.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1421, allocations: 0 / 451.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.1422, allocations: 12 kB / 451.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1422, allocations: 7.922 kB / 451.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1422, allocations: 0 / 451.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1422, allocations: 4 kB / 451.4 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1422, allocations: 3.938 kB / 451.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1425, allocations: 219 kB / 451.6 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.1426, allocations: 116.5 kB / 451.7 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1426, allocations: 7.938 kB / 451.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.1427, allocations: 4 kB / 451.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1428, allocations: 7.984 kB / 451.7 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1428, allocations: 4 kB / 451.7 MB, free: 4.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.1434, allocations: 0.6472 MB / 452.4 MB, free: 3.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1434, allocations: 3.938 kB / 452.4 MB, free: 3.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1436, allocations: 23.98 kB / 452.4 MB, free: 3.57 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.001397/0.145, allocations: 1.062 MB / 453.5 MB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1453, allocations: 59.91 kB / 453.5 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1453, allocations: 0 / 453.5 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.1454, allocations: 23.98 kB / 453.6 MB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1457, allocations: 25.95 kB / 453.6 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2052/0.3509, allocations: 3.314 MB / 456.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3512, allocations: 0.8231 MB / 457.7 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.3513, allocations: 10.02 kB / 457.7 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3514, allocations: 100.6 kB / 457.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3515, allocations: 0 / 457.8 MB, free: 44.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.3681, allocations: 5.391 MB / 463.2 MB, free: 44.25 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.3683, allocations: 235 kB / 463.5 MB, free: 43.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.258, allocations: 6.562 kB / 463.5 MB, free: 43.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches