Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.001232/0.001232, allocations: 107.4 kB / 17.21 MB, free: 6.289 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.001131/0.001131, 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.453/1.453, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.2418/0.2418, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 69.08 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1488, allocations: 60.84 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00368/0.1525, allocations: 1.609 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1542, allocations: 0.9998 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.1543, allocations: 4 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1546, allocations: 23.91 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1548, allocations: 31.92 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1552, allocations: 95.75 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1553, allocations: 63.83 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1554, allocations: 8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.1555, allocations: 23.92 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1557, allocations: 31.84 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1557, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1558, allocations: 39.98 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.1559, allocations: 15.91 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1559, allocations: 27.81 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1561, allocations: 76.06 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1561, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1561, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1561, allocations: 0 / 471.7 MB, free: 11.67 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.0005675/0.1567, allocations: 383.3 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1568, allocations: 12.03 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1568, allocations: 30.75 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1569, allocations: 8.844 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1571, allocations: 192.2 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1571, allocations: 384 / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1572, allocations: 384 / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1574, allocations: 79.27 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1574, allocations: 4 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1574, allocations: 7.875 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1574, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1575, allocations: 23.98 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.158, allocations: 272.9 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.1582, allocations: 58.48 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.1583, allocations: 8.859 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1583, allocations: 4 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1584, allocations: 34.64 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1584, allocations: 0 / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006139/0.159, allocations: 145.3 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1591, allocations: 81.11 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1592, allocations: 136.8 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1593, allocations: 25.7 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.1593, allocations: 100.1 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1594, allocations: 11.81 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.1594, allocations: 17.72 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1596, allocations: 322.8 kB / 473.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.1597, allocations: 23.98 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.1598, allocations: 37.64 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1599, allocations: 52.81 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1599, allocations: 4 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002051/0.1601, allocations: 85.61 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1602, allocations: 4 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1602, allocations: 0 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1602, allocations: 0 / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.1603, allocations: 15.98 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.1603, allocations: 3.984 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1603, allocations: 4.281 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1604, allocations: 7.922 kB / 473.8 MB, free: 9.266 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.0001029/0.1605, allocations: 117.8 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1605, allocations: 11.91 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.1608, allocations: 97.86 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1608, allocations: 4 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1608, allocations: 0 / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1608, allocations: 3.984 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.1613, allocations: 362.4 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1613, allocations: 4 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.1614, allocations: 8 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1614, allocations: 0 / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1614, allocations: 4 kB / 474.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.1614, allocations: 11.92 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1614, allocations: 0 / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1616, allocations: 183.3 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1617, allocations: 89 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1617, allocations: 0 / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.1618, allocations: 7.938 kB / 474.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1619, allocations: 7.984 kB / 474.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1619, allocations: 4 kB / 474.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.056e-05/0.162, allocations: 99.27 kB / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.162, allocations: 0 / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1622, allocations: 20 kB / 474.9 MB, free: 8.145 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.001515/0.1638, allocations: 1.041 MB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.164, allocations: 59.89 kB / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.164, allocations: 0 / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.1641, allocations: 23.98 kB / 476 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1645, allocations: 22.42 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.1662, allocations: 1.419 MB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1665, allocations: 0.6926 MB / 478.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.1667, allocations: 20.03 kB / 478.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.1667, allocations: 27.42 kB / 478.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1667, allocations: 0 / 478.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.192, allocations: 2.536 MB / 480.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.1923, allocations: 252.7 kB / 480.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.02, allocations: 0 / 480.9 MB, free: 2.172 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches