Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000822/0.000822, allocations: 96.33 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 211.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.7 MB / 246.8 MB, free: 9.652 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 15.97 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 63.55 MB / 483.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002741/0.1254, allocations: 1.735 MB / 484.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1273, allocations: 1.099 MB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1275, allocations: 0 / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.128, allocations: 259.3 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.1285, allocations: 227.4 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1299, allocations: 0.6171 MB / 487.1 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.1303, allocations: 331 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1305, allocations: 72.98 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1307, allocations: 123.5 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1309, allocations: 199.2 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.1309, allocations: 4 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1311, allocations: 63.98 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1312, allocations: 87.66 kB / 488 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1314, allocations: 148.6 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1317, allocations: 326.6 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1318, allocations: 4 kB / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1318, allocations: 0 / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1318, allocations: 0 / 488.4 MB, free: 14.75 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007341/0.1325, allocations: 0.6302 MB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1326, allocations: 8.875 kB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1326, allocations: 46.73 kB / 489.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.1327, allocations: 44.38 kB / 489.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.1331, allocations: 346 kB / 489.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1331, allocations: 12.31 kB / 489.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1331, allocations: 16.36 kB / 489.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1334, allocations: 129.6 kB / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1334, allocations: 0 / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1334, allocations: 0 / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1335, allocations: 4 kB / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1337, allocations: 103.9 kB / 489.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.1344, allocations: 0.5275 MB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1346, allocations: 110.5 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.1347, allocations: 44.83 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1347, allocations: 7.984 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1347, allocations: 38.5 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1348, allocations: 0 / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001069/0.1358, allocations: 475.7 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1359, allocations: 55.34 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.1365, allocations: 0.5957 MB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1365, allocations: 29.7 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1367, allocations: 216.3 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.1368, allocations: 59.19 kB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1368, allocations: 21.7 kB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.137, allocations: 358.8 kB / 492.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1371, allocations: 71.95 kB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1372, allocations: 74.2 kB / 492.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1375, allocations: 164.7 kB / 492.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1375, allocations: 0 / 492.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003913/0.1379, allocations: 243.2 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.138, allocations: 4 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.138, allocations: 4 kB / 492.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.138, allocations: 4 kB / 492.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1382, allocations: 35.97 kB / 492.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1382, allocations: 0 / 492.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.1383, allocations: 15.91 kB / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1383, allocations: 4 kB / 492.9 MB, free: 10.07 MB / 366.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 (17): * Single equations (assignments): 17 * 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.0001796/0.1385, allocations: 185.7 kB / 493.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.1385, allocations: 43.44 kB / 493.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.1391, allocations: 289.8 kB / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1391, allocations: 0 / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1391, allocations: 3.984 kB / 493.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1391, allocations: 3.984 kB / 493.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.1401, allocations: 0.7152 MB / 494.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1401, allocations: 0 / 494.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1402, allocations: 39.92 kB / 494.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1402, allocations: 0 / 494.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1402, allocations: 4 kB / 494.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.1402, allocations: 7.922 kB / 494.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1402, allocations: 0 / 494.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.1407, allocations: 342.8 kB / 494.5 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1408, allocations: 128.5 kB / 494.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.1409, allocations: 8 kB / 494.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.141, allocations: 11.92 kB / 494.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.141, allocations: 15.98 kB / 494.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1411, allocations: 7.938 kB / 494.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005039/0.1416, allocations: 450.8 kB / 495.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1416, allocations: 0 / 495.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1419, allocations: 52 kB / 495.1 MB, free: 7.691 MB / 366.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 (17): * Single equations (assignments): 17 * 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.002425/0.1443, allocations: 1.464 MB / 496.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.1448, allocations: 170.5 kB / 496.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1448, allocations: 0 / 496.8 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.145, allocations: 107.8 kB / 496.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.1456, allocations: 80.59 kB / 497 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00457/0.1501, allocations: 3.495 MB / 0.4887 GB, free: 2.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1506, allocations: 0.8337 MB / 0.4895 GB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.1508, allocations: 58.23 kB / 0.4896 GB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.151, allocations: 135.4 kB / 0.4897 GB, free: 1.508 MB / 366.1 MB Notification: Performance of SimCode: time 9.91e-07/0.151, allocations: 4 kB / 0.4897 GB, free: 1.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.1701, allocations: 7.246 MB / 0.4968 GB, free: 10.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1703, allocations: 236 kB / 0.497 GB, free: 10.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.172, allocations: 0 / 0.497 GB, free: 10.11 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches