Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.0008321/0.000832, allocations: 97.17 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.0008001/0.0008002, allocations: 180.8 kB / 16.91 MB, free: 6.914 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.562/1.562, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.4133/0.4133, allocations: 43.57 MB / 315 MB, free: 9.094 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.0005001/0.0005001, allocations: 19.98 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.001859/0.1291, allocations: 1.329 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000697/0.1298, allocations: 327.7 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.1299, allocations: 4 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.1304, allocations: 439.2 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.1307, allocations: 247.5 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.131, allocations: 107.8 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1312, allocations: 155.7 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.1313, allocations: 16.45 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1315, allocations: 99.78 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1317, allocations: 203.6 kB / 446.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1317, allocations: 4 kB / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.1318, allocations: 27.98 kB / 446.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1319, allocations: 87.62 kB / 446.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.132, allocations: 128.7 kB / 446.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1323, allocations: 242.9 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1323, allocations: 0 / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1323, allocations: 0 / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1323, allocations: 4 kB / 446.9 MB, free: 9.422 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.0006516/0.133, allocations: 0.6028 MB / 447.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.133, allocations: 12.03 kB / 447.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.1331, allocations: 30.75 kB / 447.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1331, allocations: 40.38 kB / 447.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1334, allocations: 304.2 kB / 447.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1334, allocations: 384 / 447.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1334, allocations: 24.02 kB / 447.9 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1336, allocations: 57.67 kB / 448 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1336, allocations: 0 / 448 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1336, allocations: 4 kB / 448 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1336, allocations: 0 / 448 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1338, allocations: 43.97 kB / 448 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.1343, allocations: 392.6 kB / 448.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1344, allocations: 50.55 kB / 448.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.1345, allocations: 28.94 kB / 448.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.1345, allocations: 4 kB / 448.5 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1345, allocations: 30.56 kB / 448.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1346, allocations: 0 / 448.5 MB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008261/0.1354, allocations: 315.9 kB / 448.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1354, allocations: 55.39 kB / 448.9 MB, free: 7.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007924/0.1362, allocations: 0.8574 MB / 449.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1362, allocations: 25.7 kB / 449.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1364, allocations: 220 kB / 450 MB, free: 6.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1364, allocations: 23.66 kB / 450 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1365, allocations: 21.66 kB / 450 MB, free: 6.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1366, allocations: 362.8 kB / 450.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1368, allocations: 39.91 kB / 450.4 MB, free: 5.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1369, allocations: 43.97 kB / 450.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.1371, allocations: 97.09 kB / 450.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1371, allocations: 0 / 450.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003564/0.1375, allocations: 161.1 kB / 450.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1375, allocations: 4 kB / 450.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1375, allocations: 0 / 450.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1375, allocations: 0 / 450.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1377, allocations: 35.86 kB / 450.8 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1377, allocations: 3.938 kB / 450.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.1378, allocations: 19.98 kB / 450.8 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1378, allocations: 4 kB / 450.8 MB, free: 5.32 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 (7): * Single equations (assignments): 7 * 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.0001728/0.138, allocations: 209.8 kB / 451 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.138, allocations: 43.52 kB / 451 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.1385, allocations: 181.3 kB / 451.2 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1385, allocations: 4 kB / 451.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1385, allocations: 3.938 kB / 451.2 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1385, allocations: 0 / 451.2 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.1391, allocations: 0.5023 MB / 451.7 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1391, allocations: 4 kB / 451.7 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.1392, allocations: 19.98 kB / 451.7 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1392, allocations: 7.938 kB / 451.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1392, allocations: 0 / 451.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1392, allocations: 4 kB / 451.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1393, allocations: 0 / 451.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1396, allocations: 259 kB / 452 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.1397, allocations: 116.5 kB / 452.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1397, allocations: 3.938 kB / 452.1 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1398, allocations: 15.98 kB / 452.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1399, allocations: 11.98 kB / 452.2 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1399, allocations: 0 / 452.2 MB, free: 3.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006392/0.1406, allocations: 0.6472 MB / 452.8 MB, free: 3.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1406, allocations: 0 / 452.8 MB, free: 3.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1408, allocations: 24 kB / 452.8 MB, free: 3.172 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 (7): * Single equations (assignments): 7 * 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.001485/0.1423, allocations: 1.109 MB / 453.9 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1426, allocations: 95.92 kB / 454 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1426, allocations: 0 / 454 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1428, allocations: 64.05 kB / 454.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1432, allocations: 21.95 kB / 454.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1934/0.3366, allocations: 3.405 MB / 457.5 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.337, allocations: 0.8234 MB / 458.3 MB, free: 43.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.738e-05/0.3371, allocations: 13.75 kB / 458.3 MB, free: 43.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3373, allocations: 101.5 kB / 458.4 MB, free: 43.67 MB / 382.1 MB Notification: Performance of SimCode: time 3.887e-06/0.3373, allocations: 0 / 458.4 MB, free: 43.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.3537, allocations: 5.478 MB / 463.9 MB, free: 43.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.3539, allocations: 237.1 kB / 464.2 MB, free: 43.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.271, allocations: 4 kB / 464.2 MB, free: 43.05 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches