Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001102/0.001102, allocations: 107.6 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.001012/0.001012, 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.468/1.468, allocations: 222.9 MB / 241.8 MB, free: 13.66 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.2379/0.2379, allocations: 44.18 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 65.95 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1508, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00406/0.1549, allocations: 1.618 MB / 470.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.1559, allocations: 403.3 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.156, allocations: 4 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1563, allocations: 11.92 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1566, allocations: 35.86 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1571, allocations: 99.56 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1572, allocations: 59.78 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1574, allocations: 11.98 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.1574, allocations: 19.92 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.1575, allocations: 23.86 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1575, allocations: 4 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1577, allocations: 20 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.1577, allocations: 23.84 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.1578, allocations: 15.88 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.158, allocations: 72.08 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.158, allocations: 0 / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.158, allocations: 0 / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.158, allocations: 0 / 471 MB, free: 12.31 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.0005444/0.1586, allocations: 375.3 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1586, allocations: 12.03 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1587, allocations: 30.75 kB / 471.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1587, allocations: 8.844 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1589, allocations: 198.8 kB / 471.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1589, allocations: 384 / 471.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.159, allocations: 8.25 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1591, allocations: 53.62 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1591, allocations: 0 / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1592, allocations: 0 / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1592, allocations: 4 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.1593, allocations: 27.97 kB / 471.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.1598, allocations: 272.9 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1601, allocations: 46.5 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/0.1601, allocations: 24.94 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1602, allocations: 0 / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1602, allocations: 30.56 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1602, allocations: 0 / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006682/0.1609, allocations: 153.2 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1609, allocations: 51.41 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1611, allocations: 142.1 kB / 472.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1611, allocations: 25.7 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1612, allocations: 96.12 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1612, allocations: 15.75 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1613, allocations: 17.72 kB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1614, allocations: 322.8 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.1615, allocations: 19.98 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.1616, allocations: 28.05 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1617, allocations: 60.7 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1617, allocations: 0 / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000219/0.1619, allocations: 85.56 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.162, allocations: 8 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.162, allocations: 0 / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.162, allocations: 288 / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.1621, allocations: 15.98 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1621, allocations: 0 / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.1621, allocations: 4 kB / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1622, allocations: 7.938 kB / 473.1 MB, free: 9.977 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.000133/0.1623, allocations: 121.8 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1623, allocations: 11.89 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.1626, allocations: 97.95 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1626, allocations: 3.938 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1627, allocations: 0 / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1627, allocations: 0 / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1632, allocations: 354.4 kB / 473.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1632, allocations: 0 / 473.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.1633, allocations: 16.3 kB / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1633, allocations: 0 / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1633, allocations: 8 kB / 473.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1633, allocations: 3.938 kB / 473.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1633, allocations: 0 / 473.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1637, allocations: 179.4 kB / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.1638, allocations: 85.02 kB / 474 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1638, allocations: 4 kB / 474 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1639, allocations: 11.86 kB / 474 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.164, allocations: 8 kB / 474 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.164, allocations: 0 / 474 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1641, allocations: 114.5 kB / 474.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.1641, allocations: 0 / 474.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1644, allocations: 16 kB / 474.1 MB, free: 8.859 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.001819/0.1662, allocations: 1.017 MB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.1665, allocations: 47.91 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1665, allocations: 0 / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.1666, allocations: 27.98 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.1672, allocations: 19.3 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.1696, allocations: 1.433 MB / 476.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1699, allocations: 0.6965 MB / 477.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.637e-05/0.17, allocations: 15.98 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.17, allocations: 19.44 kB / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.17, allocations: 0 / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1849, allocations: 2.254 MB / 479.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.1853, allocations: 244 kB / 479.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.002, allocations: 3.938 kB / 479.9 MB, free: 3.172 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches