Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.3 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.1 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 85.25 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 62.44 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003291/0.1201, allocations: 1.647 MB / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1221, allocations: 1.14 MB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.1222, allocations: 0 / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1225, allocations: 23.91 kB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.1228, allocations: 59.83 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1232, allocations: 83.78 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1233, allocations: 63.84 kB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1234, allocations: 15.97 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.1235, allocations: 31.84 kB / 482.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1237, allocations: 27.86 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1237, allocations: 0 / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.1239, allocations: 91.94 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.124, allocations: 27.84 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.124, allocations: 15.88 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1243, allocations: 139.9 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1243, allocations: 0 / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1243, allocations: 0 / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1243, allocations: 0 / 482.7 MB, free: 2.223 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.0005334/0.1249, allocations: 395.2 kB / 483.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1249, allocations: 8.875 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.125, allocations: 42.73 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.125, allocations: 16.78 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1253, allocations: 192.1 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1253, allocations: 4.375 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1253, allocations: 4.375 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1255, allocations: 63.34 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1255, allocations: 0 / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1255, allocations: 0 / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1255, allocations: 0 / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.1256, allocations: 27.97 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1261, allocations: 280.8 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1263, allocations: 42.56 kB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1264, allocations: 16.94 kB / 483.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1264, allocations: 4 kB / 483.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1264, allocations: 34.56 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1264, allocations: 0 / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006098/0.127, allocations: 145.2 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1271, allocations: 81.11 kB / 484.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1273, allocations: 141.8 kB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1273, allocations: 29.7 kB / 484.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1274, allocations: 100.1 kB / 484.3 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1274, allocations: 11.72 kB / 484.3 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1274, allocations: 17.72 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1276, allocations: 326.8 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.1276, allocations: 19.98 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.1277, allocations: 33.7 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1279, allocations: 44.83 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1279, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001826/0.1281, allocations: 73.67 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1281, allocations: 10.34 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1281, allocations: 0 / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1281, allocations: 0 / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.1282, allocations: 19.95 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1282, allocations: 0 / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.1283, allocations: 16.08 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1283, allocations: 8 kB / 484.9 MB, free: 15.81 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 (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 8.659e-05/0.1284, allocations: 113.8 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1284, allocations: 4 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.1287, allocations: 97.8 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1287, allocations: 8 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1287, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1287, allocations: 3.938 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1291, allocations: 350.5 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1291, allocations: 3.938 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.1292, allocations: 8 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1292, allocations: 8.203 kB / 485.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1292, allocations: 11.94 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1292, allocations: 0 / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1292, allocations: 0 / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1295, allocations: 179.4 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1295, allocations: 81.09 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1296, allocations: 11.94 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.1296, allocations: 4 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.1297, allocations: 7.984 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.1297, allocations: 0 / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.1298, allocations: 111.3 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1298, allocations: 0 / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1301, allocations: 39.98 kB / 485.9 MB, free: 14.68 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 (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.001536/0.1316, allocations: 1.105 MB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1318, allocations: 51.84 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1319, allocations: 0 / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.1319, allocations: 27.97 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1323, allocations: 15.94 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.134, allocations: 1.434 MB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1342, allocations: 0.6887 MB / 489.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.197e-05/0.1343, allocations: 20.2 kB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.1344, allocations: 23.42 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1344, allocations: 0 / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.1509, allocations: 2.994 MB / 492.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/0.1513, allocations: 240.2 kB / 492.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.077, allocations: 0 / 492.5 MB, free: 8.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches