Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.001359/0.001359, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001479/0.001479, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.518/1.518, 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.2491/0.2491, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.34 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 60.83 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00383/0.1477, allocations: 1.704 MB / 470.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.1486, allocations: 431.1 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1486, allocations: 0 / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1489, allocations: 43.88 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1492, allocations: 39.89 kB / 471 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1496, allocations: 118.7 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.1498, allocations: 79.75 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1499, allocations: 12 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.15, allocations: 27.92 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1501, allocations: 43.81 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1501, allocations: 8 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1503, allocations: 47.98 kB / 471.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.1504, allocations: 27.86 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1504, allocations: 35.73 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1506, allocations: 99.92 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1506, allocations: 0 / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1507, allocations: 0 / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1507, allocations: 0 / 471.5 MB, free: 11.94 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.0005412/0.1512, allocations: 403.1 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1513, allocations: 12.03 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.1513, allocations: 38.75 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1514, allocations: 12.83 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1516, allocations: 196.6 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1516, allocations: 12.11 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1516, allocations: 4 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1518, allocations: 61.67 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1518, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1519, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1519, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.152, allocations: 39.97 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1524, allocations: 304.7 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1527, allocations: 58.55 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1528, allocations: 25.06 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1528, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1528, allocations: 30.56 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1528, allocations: 4 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.1543, allocations: 393.1 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1543, allocations: 59.34 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1545, allocations: 172.3 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1546, allocations: 25.7 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.1546, allocations: 104.1 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1547, allocations: 35.45 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.1547, allocations: 21.72 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1549, allocations: 330.8 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.155, allocations: 39.97 kB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1551, allocations: 43.95 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1554, allocations: 100.7 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1554, allocations: 4 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000295/0.1557, allocations: 141.8 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1557, allocations: 8 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1557, allocations: 0 / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1557, allocations: 0 / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1558, allocations: 27.97 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1559, allocations: 3.938 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.1559, allocations: 15.98 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.156, allocations: 0 / 474.2 MB, free: 9.02 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.0001013/0.1561, allocations: 121.8 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1561, allocations: 19.75 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.1565, allocations: 158.3 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1565, allocations: 8 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1565, allocations: 0 / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1565, allocations: 0 / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.1572, allocations: 468 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1572, allocations: 4.062 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.1573, allocations: 31.91 kB / 475 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1573, allocations: 4 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1573, allocations: 0 / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1573, allocations: 4.188 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1573, allocations: 4 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.1577, allocations: 264.8 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1577, allocations: 85.02 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1578, allocations: 8.094 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1579, allocations: 11.92 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1579, allocations: 15.92 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1579, allocations: 4 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1581, allocations: 137.3 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 0 / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1583, allocations: 23.98 kB / 475.5 MB, free: 7.559 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.001638/0.16, allocations: 1.124 MB / 476.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1604, allocations: 111.9 kB / 476.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1604, allocations: 0 / 476.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1605, allocations: 59.91 kB / 476.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.161, allocations: 23.92 kB / 476.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.1636, allocations: 1.789 MB / 478.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1641, allocations: 0.7003 MB / 479.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1642, allocations: 24.53 kB / 479.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.1643, allocations: 35.36 kB / 479.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1643, allocations: 4 kB / 479.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.181, allocations: 3.028 MB / 482.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.1812, allocations: 233.9 kB / 482.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.958, allocations: 4 kB / 482.7 MB, free: 0.5391 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches