Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.006267/0.006267, allocations: 100 kB / 15.87 MB, free: 6.309 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.001224/0.001225, allocations: 189.7 kB / 16.78 MB, free: 6.238 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.29/1.29, allocations: 205.1 MB / 222.7 MB, free: 4.527 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.2945/0.2945, allocations: 43.49 MB / 313.5 MB, free: 8.688 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.001316/0.001316, allocations: 78.5 kB / 382.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 57.78 MB / 439.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002988/0.1276, allocations: 1.618 MB / 441.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.1282, allocations: 323.7 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.1283, allocations: 0 / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1285, allocations: 71.84 kB / 441.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1287, allocations: 43.88 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.129, allocations: 95.81 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1291, allocations: 59.84 kB / 442.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.1292, allocations: 20.25 kB / 442.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.1293, allocations: 31.84 kB / 442.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1294, allocations: 39.84 kB / 442.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1294, allocations: 0 / 442.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.1295, allocations: 39.97 kB / 442.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.1295, allocations: 11.98 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.1296, allocations: 27.75 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1297, allocations: 83.72 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1297, allocations: 0 / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1297, allocations: 3.984 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1297, allocations: 0 / 442.4 MB, free: 12.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004019/0.1301, allocations: 395 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1302, allocations: 8.031 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1302, allocations: 38.75 kB / 442.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1303, allocations: 8.844 kB / 442.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1305, allocations: 191.9 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.1305, allocations: 4.375 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1305, allocations: 12.36 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1306, allocations: 49.62 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1306, allocations: 0 / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1307, allocations: 0 / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1307, allocations: 0 / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.1308, allocations: 23.92 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1311, allocations: 296.8 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1313, allocations: 38.56 kB / 443.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.1314, allocations: 24.88 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1314, allocations: 0 / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1314, allocations: 34.56 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1315, allocations: 0 / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005514/0.132, allocations: 161.2 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1321, allocations: 51.41 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1322, allocations: 190.2 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1323, allocations: 25.7 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.1323, allocations: 100 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1323, allocations: 15.8 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1324, allocations: 21.72 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1325, allocations: 326.8 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.1326, allocations: 23.92 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.1327, allocations: 19.98 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1328, allocations: 48.83 kB / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1328, allocations: 0 / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.133, allocations: 97.75 kB / 444.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.133, allocations: 4 kB / 444.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.133, allocations: 4 kB / 444.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.133, allocations: 0 / 444.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.806e-05/0.1331, allocations: 15.98 kB / 444.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1331, allocations: 0 / 444.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.1332, allocations: 4 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1332, allocations: 3.938 kB / 444.6 MB, free: 9.805 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 7.601e-05/0.1332, allocations: 125.8 kB / 444.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1333, allocations: 7.906 kB / 444.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1335, allocations: 101.9 kB / 444.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1335, allocations: 4.281 kB / 444.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1335, allocations: 0 / 444.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1335, allocations: 0 / 444.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.1339, allocations: 362.5 kB / 445.2 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1339, allocations: 3.984 kB / 445.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.134, allocations: 11.94 kB / 445.2 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.134, allocations: 3.938 kB / 445.2 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.134, allocations: 7.984 kB / 445.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.134, allocations: 3.938 kB / 445.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.134, allocations: 0 / 445.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1342, allocations: 187.3 kB / 445.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1343, allocations: 85 kB / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1343, allocations: 192 / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.1344, allocations: 11.94 kB / 445.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1344, allocations: 7.984 kB / 445.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1344, allocations: 0 / 445.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1345, allocations: 144.1 kB / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1345, allocations: 0 / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1348, allocations: 23.98 kB / 445.6 MB, free: 8.629 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.001241/0.136, allocations: 1.012 MB / 446.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1362, allocations: 59.95 kB / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1362, allocations: 0 / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.1363, allocations: 31.92 kB / 446.7 MB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1366, allocations: 23.91 kB / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1382, allocations: 1.555 MB / 448.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1385, allocations: 0.7004 MB / 449 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.1385, allocations: 11.98 kB / 449 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.1386, allocations: 27.42 kB / 449.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1386, allocations: 0 / 449.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.1503, allocations: 2.462 MB / 451.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.1505, allocations: 234.7 kB / 451.7 MB, free: 2.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.849, allocations: 0 / 451.7 MB, free: 2.375 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches