Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001104/0.001104, allocations: 106.5 kB / 17.2 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.001212/0.001212, 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.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.2274/0.2274, allocations: 44.18 MB / 336.1 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 72.84 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1646, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.004811/0.1695, allocations: 1.614 MB / 470.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.1705, allocations: 399.3 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.1706, allocations: 0 / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.171, allocations: 31.91 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1712, allocations: 27.92 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1716, allocations: 83.77 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1717, allocations: 59.78 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1719, allocations: 4 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.1719, allocations: 23.91 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.172, allocations: 19.88 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.172, allocations: 0 / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1722, allocations: 31.98 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.1722, allocations: 19.92 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.1723, allocations: 27.73 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1725, allocations: 68.08 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1725, allocations: 0 / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1725, allocations: 0 / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1725, 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.0006809/0.1732, allocations: 387.2 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.795e-05/0.1733, allocations: 8.031 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.1734, allocations: 30.75 kB / 471.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.1734, allocations: 12.84 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1737, allocations: 192.2 kB / 471.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1738, allocations: 384 / 471.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1738, allocations: 4.375 kB / 471.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.174, allocations: 57.56 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.174, allocations: 0 / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.174, allocations: 0 / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.174, allocations: 7.875 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1741, allocations: 23.97 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.1747, allocations: 284.8 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1749, allocations: 42.5 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.175, allocations: 16.86 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.1751, allocations: 0 / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.1751, allocations: 38.64 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.1751, allocations: 4 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007465/0.1759, allocations: 133.3 kB / 472.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1759, allocations: 51.41 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.1762, allocations: 168.6 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1762, allocations: 29.7 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1763, allocations: 96.14 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1763, allocations: 23.64 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.1764, allocations: 13.72 kB / 472.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1766, allocations: 326.8 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.1766, allocations: 15.98 kB / 472.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.1767, allocations: 19.98 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1769, allocations: 52.78 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1769, allocations: 0 / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002295/0.1771, allocations: 81.56 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1772, allocations: 4 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1772, allocations: 0 / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1772, allocations: 0 / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1773, allocations: 12 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1773, allocations: 0 / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.1774, allocations: 7.984 kB / 473.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1774, allocations: 7.938 kB / 473.1 MB, free: 9.973 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.0001522/0.1775, allocations: 113.8 kB / 473.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.1776, allocations: 8.156 kB / 473.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1779, allocations: 101.9 kB / 473.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1779, allocations: 4 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1779, allocations: 0 / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.178, allocations: 4.281 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.1785, allocations: 346.5 kB / 473.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1785, allocations: 3.938 kB / 473.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.1786, allocations: 11.98 kB / 473.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.1786, allocations: 7.984 kB / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1786, allocations: 0 / 473.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.1787, allocations: 3.938 kB / 473.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1787, allocations: 0 / 473.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.179, allocations: 175.4 kB / 473.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.1791, allocations: 88.94 kB / 474 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1791, allocations: 4 kB / 474 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.1792, allocations: 3.938 kB / 474 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.1793, allocations: 7.984 kB / 474 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1793, allocations: 7.938 kB / 474 MB, free: 8.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1795, allocations: 133.7 kB / 474.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1795, allocations: 0 / 474.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1798, allocations: 12 kB / 474.1 MB, free: 8.852 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.001989/0.1818, allocations: 1.006 MB / 475.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.182, allocations: 51.89 kB / 475.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1821, allocations: 3.938 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1821, allocations: 27.92 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1827, allocations: 11.94 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.185, allocations: 1.485 MB / 476.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.1855, allocations: 0.6965 MB / 477.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.529e-05/0.1856, allocations: 8 kB / 477.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.1857, allocations: 27.42 kB / 477.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1857, allocations: 0 / 477.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.2017, allocations: 2.333 MB / 479.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.202, allocations: 237.8 kB / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.139, allocations: 0 / 480 MB, free: 3.055 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches