Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.001291, allocations: 106.9 kB / 17.2 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.001356/0.001356, allocations: 209.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.493/1.493, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 69.33 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 62.44 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003778/0.1291, allocations: 1.679 MB / 481.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1303, allocations: 0.5456 MB / 481.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.1304, allocations: 4 kB / 481.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1308, allocations: 91.73 kB / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1311, allocations: 91.78 kB / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1315, allocations: 99.31 kB / 481.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1317, allocations: 87.75 kB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1318, allocations: 19.98 kB / 482 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.1319, allocations: 35.89 kB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.132, allocations: 47.84 kB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.132, allocations: 0 / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1322, allocations: 47.97 kB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.1323, allocations: 27.78 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.1323, allocations: 31.75 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1325, allocations: 112 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1326, allocations: 0 / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1326, allocations: 0 / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1326, allocations: 0 / 482.3 MB, free: 2.707 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.0005315/0.1331, allocations: 418.9 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1332, allocations: 12.81 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.1332, allocations: 42.73 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1333, allocations: 12.75 kB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1335, allocations: 200.6 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1335, allocations: 8.375 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1336, allocations: 4.312 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1337, allocations: 53.62 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1338, allocations: 7.984 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1338, allocations: 0 / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1338, allocations: 0 / 483 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1339, allocations: 23.98 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1344, allocations: 312.7 kB / 483.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1345, allocations: 50.5 kB / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1347, allocations: 16.94 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1347, allocations: 4 kB / 483.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1347, allocations: 30.56 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1347, allocations: 4 kB / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001045/0.1358, allocations: 241.2 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1358, allocations: 59.41 kB / 483.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1361, allocations: 234.6 kB / 484 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1361, allocations: 33.64 kB / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.1362, allocations: 108.1 kB / 484.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1362, allocations: 31.55 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.1363, allocations: 21.72 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1364, allocations: 326.8 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.1365, allocations: 27.97 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.1366, allocations: 32.05 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1368, allocations: 80.88 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1368, allocations: 0 / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002344/0.1371, allocations: 109.6 kB / 484.7 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1371, allocations: 8 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1371, allocations: 0 / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1371, allocations: 0 / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1373, allocations: 19.97 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1373, allocations: 3.938 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1373, allocations: 11.94 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1374, allocations: 4 kB / 484.8 MB, free: 15.97 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 (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.0001176/0.1375, allocations: 129.8 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1375, allocations: 11.81 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.1379, allocations: 135 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1379, allocations: 4 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1379, allocations: 7.938 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1379, allocations: 3.938 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.1385, allocations: 423.2 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1385, allocations: 4 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.1386, allocations: 19.92 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1386, allocations: 0 / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1386, allocations: 8.031 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1386, allocations: 0 / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1386, allocations: 0 / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.1389, allocations: 216.6 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.139, allocations: 92.86 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.139, allocations: 4 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.1391, allocations: 8 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1392, allocations: 7.984 kB / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1392, allocations: 4 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.1394, allocations: 180.2 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1394, allocations: 4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1397, allocations: 20 kB / 486 MB, free: 14.61 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.001662/0.1413, allocations: 1.095 MB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1416, allocations: 71.95 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1416, allocations: 0 / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.1417, allocations: 39.92 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1421, allocations: 15.98 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.1443, allocations: 1.788 MB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1447, allocations: 0.7101 MB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.1448, allocations: 24.94 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.1448, allocations: 35.42 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.314e-06/0.1449, allocations: 0 / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.16, allocations: 2.998 MB / 492.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.1603, allocations: 234.5 kB / 493.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.191, allocations: 0 / 493.1 MB, free: 7.676 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches