Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.000924/0.0009239, allocations: 114 kB / 17.33 MB, free: 5.988 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.0009944/0.0009944, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.447/1.447, allocations: 222.9 MB / 241.9 MB, free: 13.67 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.2415/0.2415, allocations: 44.17 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 60.56 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.141, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003559/0.1446, allocations: 1.672 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.1454, allocations: 447.1 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.1455, allocations: 0 / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1461, allocations: 451.2 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1466, allocations: 239.6 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.147, allocations: 170.9 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.1473, allocations: 159.6 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1475, allocations: 28.17 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.1477, allocations: 103.8 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.1479, allocations: 219.6 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.148, allocations: 4 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1481, allocations: 31.98 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1482, allocations: 83.69 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/0.1483, allocations: 103 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1486, allocations: 263.2 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1486, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1486, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1486, allocations: 0 / 472.7 MB, free: 10.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007609/0.1494, allocations: 0.6297 MB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1495, allocations: 8.031 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.1495, allocations: 42.73 kB / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.1496, allocations: 36.47 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1499, allocations: 308.1 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1499, allocations: 4.375 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.15, allocations: 16.06 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1501, allocations: 53.61 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1501, allocations: 0 / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1502, allocations: 8 kB / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1502, allocations: 0 / 473.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1503, allocations: 23.98 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.1508, allocations: 404.6 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1511, allocations: 50.48 kB / 474.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.1512, allocations: 12.86 kB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1512, allocations: 4 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1512, allocations: 34.64 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.1512, allocations: 4 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006802/0.1519, allocations: 228 kB / 474.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.152, allocations: 51.41 kB / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.1528, allocations: 0.8691 MB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1528, allocations: 25.7 kB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.153, allocations: 224 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.153, allocations: 27.81 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1531, allocations: 17.72 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.1533, allocations: 358.8 kB / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.1534, allocations: 19.98 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.1534, allocations: 23.98 kB / 476.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1536, allocations: 56.77 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1536, allocations: 4.188 kB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002301/0.1538, allocations: 129.1 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1539, allocations: 4 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1539, allocations: 0 / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1539, allocations: 0 / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.154, allocations: 11.98 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.154, allocations: 7.938 kB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.154, allocations: 8 kB / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1541, allocations: 0 / 476.4 MB, free: 6.785 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 0.0001763/0.1542, allocations: 221.6 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.1543, allocations: 39.53 kB / 476.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.1546, allocations: 141.1 kB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1546, allocations: 0 / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1546, allocations: 3.938 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1546, allocations: 0 / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.1552, allocations: 474.3 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1552, allocations: 0 / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.1553, allocations: 15.98 kB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1553, allocations: 3.938 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1553, allocations: 7.938 kB / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1553, allocations: 0 / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1553, allocations: 0 / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1556, allocations: 215 kB / 477.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.1557, allocations: 113.1 kB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1557, allocations: 3.938 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.1558, allocations: 15.92 kB / 477.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1559, allocations: 7.984 kB / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1559, allocations: 0 / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005934/0.1565, allocations: 0.6589 MB / 478.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1565, allocations: 4 kB / 478.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1567, allocations: 20 kB / 478.3 MB, free: 4.758 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.001346/0.1581, allocations: 1.049 MB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1583, allocations: 63.91 kB / 479.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1583, allocations: 0 / 479.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.1584, allocations: 27.97 kB / 479.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1588, allocations: 31.25 kB / 479.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1627, allocations: 3.341 MB / 482.8 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.1632, allocations: 0.826 MB / 483.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.1633, allocations: 15.97 kB / 483.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1634, allocations: 107.4 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1634, allocations: 0 / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1827, allocations: 5.783 MB / 489.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.183, allocations: 239.4 kB / 489.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/1.999, allocations: 4 kB / 489.8 MB, free: 9.371 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches