Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001508/0.001508, allocations: 108.3 kB / 17.21 MB, free: 6.293 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.001058/0.001058, allocations: 194 kB / 18.12 MB, free: 5.383 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.474/1.474, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2491/0.2491, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 62.48 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1394, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003517/0.143, allocations: 1.644 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.1439, allocations: 415.3 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.144, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.1443, allocations: 79.77 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.1446, allocations: 51.83 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.145, allocations: 102.5 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1452, allocations: 63.84 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1453, allocations: 20.17 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.1454, allocations: 35.78 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1455, allocations: 39.91 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1455, allocations: 0 / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1457, allocations: 43.97 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1457, allocations: 19.92 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1458, allocations: 31.73 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.146, allocations: 95.92 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.146, allocations: 4 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.146, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1461, allocations: 0 / 471.2 MB, free: 12.12 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.0006902/0.1467, allocations: 403.1 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.1468, allocations: 8.031 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1469, allocations: 30.75 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1469, allocations: 12.84 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1471, allocations: 192.1 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1472, allocations: 4.375 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1472, allocations: 12.12 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1474, allocations: 57.66 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1474, allocations: 0 / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1474, allocations: 4 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1475, allocations: 0 / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1476, allocations: 27.92 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.1481, allocations: 300.7 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1482, allocations: 46.56 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.1483, allocations: 24.88 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1483, allocations: 3.938 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1483, allocations: 30.56 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1483, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001003/0.1494, allocations: 237 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1494, allocations: 59.34 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1496, allocations: 195.1 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1496, allocations: 29.7 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1497, allocations: 100.1 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.1497, allocations: 35.61 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1498, allocations: 21.72 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1499, allocations: 318.8 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.15, allocations: 27.97 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.1501, allocations: 31.98 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1503, allocations: 84.97 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1503, allocations: 0 / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002416/0.1506, allocations: 113.5 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1506, allocations: 4 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.1506, allocations: 0 / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1506, allocations: 0 / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1508, allocations: 19.98 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1508, allocations: 3.938 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.1508, allocations: 4 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1509, allocations: 4.422 kB / 473.6 MB, free: 9.496 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 (8): * Single equations (assignments): 8 * 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.0001262/0.151, allocations: 133.8 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.151, allocations: 7.906 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1514, allocations: 126.3 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1514, allocations: 7.984 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1514, allocations: 3.938 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1514, allocations: 4 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.152, allocations: 411.2 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.152, allocations: 3.938 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.1521, allocations: 27.86 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1521, allocations: 0 / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1521, allocations: 4 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1521, allocations: 8.031 kB / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1522, allocations: 0 / 474.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1524, allocations: 208.3 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1525, allocations: 84.95 kB / 474.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1525, allocations: 4 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.1526, allocations: 7.984 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.1527, allocations: 8 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1527, allocations: 4 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1528, allocations: 151.2 kB / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.354e-06/0.1528, allocations: 0 / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1531, allocations: 19.94 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001825/0.155, allocations: 1.098 MB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1552, allocations: 83.83 kB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1552, allocations: 0 / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.805e-05/0.1553, allocations: 35.98 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.1558, allocations: 18.17 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.158, allocations: 1.669 MB / 477.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1584, allocations: 0.7043 MB / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.925e-05/0.1585, allocations: 24.95 kB / 478.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.1586, allocations: 31.42 kB / 478.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1586, allocations: 0 / 478.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.173, allocations: 2.78 MB / 481.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.1734, allocations: 242.5 kB / 481.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/1.969, allocations: 3.938 kB / 481.5 MB, free: 1.602 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches