Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001159/0.001159, allocations: 110.9 kB / 17.33 MB, free: 6.016 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.001819/0.001819, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.49/1.49, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2439/0.2439, allocations: 44.18 MB / 336.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.3 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1468, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003116/0.1499, allocations: 1.692 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.1508, allocations: 451.1 kB / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.1508, allocations: 0 / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.1511, allocations: 51.84 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1513, allocations: 51.88 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1517, allocations: 168.8 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1519, allocations: 75.81 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.152, allocations: 20 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.152, allocations: 39.83 kB / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.1521, allocations: 43.78 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1522, allocations: 4 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1523, allocations: 51.97 kB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.1523, allocations: 23.92 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.1524, allocations: 27.81 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1526, allocations: 111.9 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1526, allocations: 3.938 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1526, allocations: 4 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1526, allocations: 0 / 471.6 MB, free: 11.83 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005387/0.1532, allocations: 415 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1532, allocations: 12.03 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.1532, allocations: 34.75 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1533, allocations: 8.844 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1535, allocations: 201.7 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1535, allocations: 4.375 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1535, allocations: 4.375 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1537, allocations: 81.47 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1538, allocations: 3.906 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1538, allocations: 4 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1538, allocations: 0 / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1539, allocations: 39.97 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.1544, allocations: 324.8 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1546, allocations: 58.58 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.1547, allocations: 28.97 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1548, allocations: 0 / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1548, allocations: 34.56 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1548, allocations: 0 / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001493/0.1563, allocations: 429 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1564, allocations: 59.41 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1566, allocations: 186.2 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1566, allocations: 25.7 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1567, allocations: 108.1 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1567, allocations: 35.45 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1567, allocations: 25.7 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1569, allocations: 326.8 kB / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.157, allocations: 51.95 kB / 474.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1572, allocations: 51.97 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1574, allocations: 124.8 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1575, allocations: 3.938 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003315/0.1578, allocations: 169.4 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1578, allocations: 6.5 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1578, allocations: 4 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1579, allocations: 7.938 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.158, allocations: 23.98 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.158, allocations: 0 / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.158, allocations: 11.98 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1581, allocations: 4 kB / 474.5 MB, free: 8.75 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 (11): * Single equations (assignments): 11 * 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.0001089/0.1582, allocations: 129.8 kB / 474.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1582, allocations: 7.906 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.1587, allocations: 194.6 kB / 474.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1587, allocations: 3.938 kB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1587, allocations: 0 / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1587, allocations: 11.92 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.1594, allocations: 0.4999 MB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1594, allocations: 0 / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.1595, allocations: 23.98 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1595, allocations: 0 / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1596, allocations: 8 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1596, allocations: 0 / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1596, allocations: 4.062 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.16, allocations: 277 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.1601, allocations: 92.91 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1601, allocations: 4 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.1602, allocations: 16.17 kB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.1603, allocations: 4 kB / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1603, allocations: 11.98 kB / 475.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1605, allocations: 148.1 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1608, allocations: 31.98 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002019/0.1628, allocations: 1.151 MB / 477.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.1632, allocations: 135.8 kB / 477.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.1633, allocations: 0 / 477.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1634, allocations: 71.89 kB / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.1639, allocations: 23.92 kB / 477.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.1664, allocations: 1.9 MB / 479.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1667, allocations: 0.7197 MB / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.671e-05/0.1668, allocations: 32.52 kB / 479.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1669, allocations: 31.42 kB / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1669, allocations: 8 kB / 480 MB, free: 3.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.1805, allocations: 3.218 MB / 483.2 MB, free: 20 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.1808, allocations: 233.8 kB / 483.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.048, allocations: 4 kB / 483.4 MB, free: 15.76 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches