Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001067/0.001067, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 201.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.186/0.186, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 80.48 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 62.45 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003585/0.121, allocations: 1.653 MB / 481.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1228, allocations: 1.128 MB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.1229, allocations: 0 / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.1232, allocations: 23.92 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1235, allocations: 75.75 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1239, allocations: 79.09 kB / 482.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.124, allocations: 67.83 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1241, allocations: 15.98 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.596e-05/0.1242, allocations: 31.84 kB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1244, allocations: 31.86 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1244, allocations: 4 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.1246, allocations: 99.86 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1247, allocations: 7.984 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.1248, allocations: 31.8 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.125, allocations: 128 kB / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1251, allocations: 0 / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1251, allocations: 0 / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1251, allocations: 0 / 483 MB, free: 2.133 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.0005959/0.1257, allocations: 415 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1257, allocations: 8.031 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.1258, allocations: 34.75 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1258, allocations: 8.844 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.126, allocations: 188.2 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1261, allocations: 4.375 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1261, allocations: 4.375 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1263, allocations: 71.33 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1263, allocations: 7.938 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1263, allocations: 4 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1263, allocations: 3.938 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.369e-05/0.1264, allocations: 19.98 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.1268, allocations: 280.9 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.127, allocations: 46.5 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1271, allocations: 16.86 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1271, allocations: 0 / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1271, allocations: 30.56 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1271, allocations: 0 / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000587/0.1277, allocations: 149.3 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1278, allocations: 77.11 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1279, allocations: 144.8 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.128, allocations: 29.64 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.128, allocations: 96.12 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.128, allocations: 19.72 kB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1281, allocations: 13.72 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1282, allocations: 322.8 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.1283, allocations: 23.98 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/0.1284, allocations: 29.7 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1285, allocations: 48.83 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1285, allocations: 0 / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.1287, allocations: 77.64 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1288, allocations: 11.98 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1288, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1288, allocations: 0 / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.1289, allocations: 12 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1289, allocations: 0 / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.1289, allocations: 15.83 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1289, allocations: 4.25 kB / 485.1 MB, free: 15.71 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 7.835e-05/0.129, allocations: 109.8 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1291, allocations: 12 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1293, allocations: 105.7 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1293, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1294, allocations: 3.984 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1294, allocations: 3.938 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1298, allocations: 342.6 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1298, allocations: 4 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.1299, allocations: 19.92 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1299, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1299, allocations: 3.938 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1299, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1299, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1302, allocations: 179.7 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.1302, allocations: 85.05 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1303, allocations: 3.938 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.1303, allocations: 7.984 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1304, allocations: 7.984 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1304, allocations: 3.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.1305, allocations: 113.5 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1305, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.1308, allocations: 39.98 kB / 486.2 MB, free: 14.58 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.001491/0.1323, allocations: 1.089 MB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1325, allocations: 59.77 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1325, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.1326, allocations: 27.98 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.0003465/0.133, allocations: 18.98 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1346, allocations: 1.428 MB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1349, allocations: 0.7001 MB / 489.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1349, allocations: 4 kB / 489.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.135, allocations: 31.42 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.135, allocations: 0 / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6142/0.7492, allocations: 3.05 MB / 492.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/0.7496, allocations: 236.4 kB / 492.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.649, allocations: 3.938 kB / 492.8 MB, free: 8.043 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches