Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8886/0.8886, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.354e-05, allocations: 10.22 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001987/0.002001, allocations: 1.654 MB / 441.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.002848, allocations: 0.5646 MB / 441.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.00291, allocations: 7.938 kB / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.003356, allocations: 447.1 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.003736, allocations: 299.2 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.004099, allocations: 186.1 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.004314, allocations: 175.6 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004458, allocations: 15.98 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.004567, allocations: 119.8 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.004738, allocations: 251.5 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.004753, allocations: 8 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.004823, allocations: 27.94 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.867e-05/0.004902, allocations: 91.69 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.004939, allocations: 39.69 kB / 443.5 MB, free: 364 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.005146, allocations: 251.1 kB / 443.7 MB, free: 112 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.005148, allocations: 3.938 kB / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.005149, allocations: 0 / 443.7 MB, free: 108 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005153, allocations: 0 / 443.7 MB, free: 108 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1461/0.1512, allocations: 0.5874 MB / 444.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1513, allocations: 11.22 kB / 444.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.1513, allocations: 37.56 kB / 444.3 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1513, allocations: 44.47 kB / 444.4 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1515, allocations: 249.3 kB / 444.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1515, allocations: 6.562 kB / 444.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1515, allocations: 2.594 kB / 444.6 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1516, allocations: 61.22 kB / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1517, allocations: 1.469 kB / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1517, allocations: 4.844 kB / 444.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1517, allocations: 4.5 kB / 444.7 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.1517, allocations: 42.02 kB / 444.7 MB, free: 45.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1521, allocations: 378 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.1522, allocations: 44.92 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.1522, allocations: 27.47 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1522, allocations: 7.875 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.1522, allocations: 32.25 kB / 445.2 MB, free: 45.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1522, allocations: 1.938 kB / 445.2 MB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005033/0.1527, allocations: 315.5 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.1528, allocations: 57.48 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.1532, allocations: 0.8688 MB / 446.5 MB, free: 45.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.1532, allocations: 28.64 kB / 446.5 MB, free: 45.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.1533, allocations: 218.4 kB / 446.7 MB, free: 45.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1533, allocations: 22.05 kB / 446.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1533, allocations: 24.56 kB / 446.7 MB, free: 45.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.1534, allocations: 368.6 kB / 447.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.1534, allocations: 36.69 kB / 447.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.1535, allocations: 36.23 kB / 447.2 MB, free: 44.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1536, allocations: 102.2 kB / 447.3 MB, free: 44.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1536, allocations: 0 / 447.3 MB, free: 44.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001486/0.1537, allocations: 160.8 kB / 447.4 MB, free: 44.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1538, allocations: 5.406 kB / 447.4 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1538, allocations: 0 / 447.4 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1538, allocations: 6.312 kB / 447.4 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.1539, allocations: 22.19 kB / 447.5 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1539, allocations: 0 / 447.5 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.1539, allocations: 8.672 kB / 447.5 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1539, allocations: 5.859 kB / 447.5 MB, free: 44.65 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.0001018/0.154, allocations: 219.8 kB / 447.7 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.154, allocations: 52.31 kB / 447.7 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.1542, allocations: 189.2 kB / 447.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1542, allocations: 0 / 447.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1542, allocations: 2.906 kB / 447.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1542, allocations: 3.312 kB / 447.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1546, allocations: 480.2 kB / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1546, allocations: 0 / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.1546, allocations: 22.02 kB / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1546, allocations: 3.125 kB / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1546, allocations: 0 / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1546, allocations: 3.828 kB / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1546, allocations: 1.062 kB / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1548, allocations: 268.2 kB / 448.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.1548, allocations: 42.36 kB / 448.7 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1548, allocations: 0 / 448.7 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.1549, allocations: 11.67 kB / 448.7 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.1549, allocations: 8.547 kB / 448.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1549, allocations: 0 / 448.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003048/0.1552, allocations: 0.6639 MB / 449.4 MB, free: 43.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1552, allocations: 0 / 449.4 MB, free: 43.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.1554, allocations: 32.25 kB / 449.5 MB, free: 43.62 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.0008285/0.1562, allocations: 1.113 MB / 450.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.1564, allocations: 91.17 kB / 450.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1564, allocations: 3.719 kB / 450.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.1564, allocations: 47.22 kB / 450.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1567, allocations: 29.72 kB / 450.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1587, allocations: 3.394 MB / 454.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1588, allocations: 221.9 kB / 454.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.1588, allocations: 20.3 kB / 454.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.1589, allocations: 119.8 kB / 454.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1589, allocations: 2.625 kB / 454.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.1751, allocations: 6.941 MB / 461.4 MB, free: 39.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.941, allocations: 6.344 kB / 461.4 MB, free: 39.15 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.840441359207034]