Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.001134/0.001138, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001036/0.001036, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.449/1.449, allocations: 222.9 MB / 241.9 MB, free: 13.77 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.2416/0.2416, allocations: 44.18 MB / 336.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001357, allocations: 54.97 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002906/0.1436, allocations: 1.621 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.145, allocations: 0.9882 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.145, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1452, allocations: 27.84 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1454, allocations: 39.84 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1457, allocations: 71.86 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.1458, allocations: 55.89 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.1459, allocations: 15.98 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.146, allocations: 19.88 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1461, allocations: 31.84 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1461, allocations: 0 / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.1462, allocations: 51.97 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1463, allocations: 11.92 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.1463, allocations: 23.86 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1465, allocations: 88.06 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1465, allocations: 0 / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1465, allocations: 4 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1465, allocations: 0 / 471.9 MB, free: 11.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004303/0.147, allocations: 371.2 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.147, allocations: 12.03 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1471, allocations: 34.73 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.1471, allocations: 8.844 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1473, allocations: 188.2 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1473, allocations: 384 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1473, allocations: 4.312 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1475, allocations: 75.27 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1475, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1475, allocations: 4 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1475, allocations: 0 / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.1476, allocations: 23.92 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1479, allocations: 272.9 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1481, allocations: 38.56 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.1482, allocations: 20.94 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1482, allocations: 7.922 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1482, allocations: 34.56 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1482, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004922/0.1487, allocations: 137.3 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1488, allocations: 81.11 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.149, allocations: 132.3 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.149, allocations: 29.7 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.1491, allocations: 92.08 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1491, allocations: 15.8 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1492, allocations: 17.72 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1493, allocations: 326.8 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.1494, allocations: 15.98 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.1494, allocations: 37.77 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1496, allocations: 44.83 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1496, allocations: 4.031 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001993/0.1498, allocations: 81.52 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1498, allocations: 4 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1498, allocations: 0 / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1498, allocations: 0 / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.1499, allocations: 15.98 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1499, allocations: 0 / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.15, allocations: 4 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.15, allocations: 3.938 kB / 474 MB, free: 9.207 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 9.674e-05/0.1501, allocations: 117.8 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1501, allocations: 7.906 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.1504, allocations: 101.5 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1504, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1504, allocations: 3.938 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1504, allocations: 0 / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1508, allocations: 346.5 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1508, allocations: 320 / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.1509, allocations: 11.98 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1509, allocations: 3.938 kB / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1509, allocations: 11.94 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1509, allocations: 7.938 kB / 474.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1509, allocations: 0 / 474.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1511, allocations: 179.4 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.1512, allocations: 81.02 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1512, allocations: 0 / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1513, allocations: 7.938 kB / 474.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1513, allocations: 7.984 kB / 474.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1513, allocations: 0 / 474.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.204e-05/0.1514, allocations: 107.3 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1514, allocations: 0 / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1517, allocations: 23.98 kB / 475 MB, free: 8.102 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.001382/0.1531, allocations: 1.046 MB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1533, allocations: 47.97 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1533, allocations: 0 / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.1533, allocations: 27.92 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1537, allocations: 23.3 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1553, allocations: 1.391 MB / 477.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1556, allocations: 0.6885 MB / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.754e-05/0.1557, allocations: 20.05 kB / 478.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.1557, allocations: 19.44 kB / 478.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.405e-06/0.1558, allocations: 0 / 478.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.1759, allocations: 2.575 MB / 480.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/0.1763, allocations: 243.7 kB / 481 MB, free: 2.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.087, allocations: 7.688 kB / 481 MB, free: 2.141 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches