Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001446, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 76.25 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003453/0.1312, allocations: 1.678 MB / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1323, allocations: 0.53 MB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.1324, allocations: 4 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1327, allocations: 79.7 kB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.1331, allocations: 79.8 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1334, allocations: 91.7 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1336, allocations: 79.75 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1337, allocations: 19.98 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.1338, allocations: 27.92 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1339, allocations: 55.75 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1339, allocations: 4 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1341, allocations: 47.97 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.1341, allocations: 19.92 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1342, allocations: 23.75 kB / 482.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1344, allocations: 107.9 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1344, allocations: 0 / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1344, allocations: 0 / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1344, allocations: 4 kB / 482.2 MB, free: 2.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005402/0.135, allocations: 411 kB / 482.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.135, allocations: 8.875 kB / 482.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.1351, allocations: 38.73 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1351, allocations: 8.844 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1353, allocations: 206.6 kB / 482.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1354, allocations: 4.375 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1354, allocations: 4.375 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1356, allocations: 61.62 kB / 482.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1356, allocations: 3.906 kB / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1356, allocations: 0 / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1356, allocations: 0 / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1357, allocations: 27.97 kB / 483 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.1362, allocations: 296.7 kB / 483.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1363, allocations: 46.56 kB / 483.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.1363, allocations: 20.88 kB / 483.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1364, allocations: 4 kB / 483.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1364, allocations: 30.56 kB / 483.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1364, allocations: 0 / 483.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000955/0.1374, allocations: 233.3 kB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1374, allocations: 51.41 kB / 483.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.1376, allocations: 214.8 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1377, allocations: 33.7 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.1378, allocations: 104.1 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.1378, allocations: 27.62 kB / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.1378, allocations: 21.7 kB / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.138, allocations: 322.8 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.138, allocations: 27.98 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.1381, allocations: 23.92 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1383, allocations: 61.06 kB / 484.5 MB, free: 312 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1383, allocations: 4 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/0.1385, allocations: 109.5 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1385, allocations: 4 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1385, allocations: 3.984 kB / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1385, allocations: 0 / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.1386, allocations: 16 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1387, allocations: 7.922 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.1387, allocations: 4 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1387, allocations: 0 / 484.6 MB, free: 156 kB / 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 (8): * Single equations (assignments): 8 * 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.0001033/0.1388, allocations: 137.8 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.1389, allocations: 11.98 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.1392, allocations: 126.9 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1392, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1392, allocations: 3.938 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1392, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.1397, allocations: 403.3 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1398, allocations: 3.938 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.1398, allocations: 23.92 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1398, allocations: 0 / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1399, allocations: 4 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.1399, allocations: 4 kB / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1399, allocations: 0 / 485.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1401, allocations: 212.2 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.1402, allocations: 84.95 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1402, allocations: 4 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1403, allocations: 7.984 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1403, allocations: 4 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1403, allocations: 8 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1405, allocations: 168.7 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1405, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1408, allocations: 24 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00151/0.1423, allocations: 1.087 MB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1425, allocations: 67.95 kB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1425, allocations: 0 / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.1426, allocations: 31.92 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.143, allocations: 19.98 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1449, allocations: 1.676 MB / 488.7 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1452, allocations: 0.7083 MB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.1453, allocations: 20.95 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1453, allocations: 31.42 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.106e-06/0.1453, allocations: 0 / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.1585, allocations: 2.861 MB / 492.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.1588, allocations: 239.7 kB / 492.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.107, allocations: 0 / 492.6 MB, free: 8.176 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches