Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008635/0.0008635, allocations: 96.48 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.0009888/0.0009888, allocations: 205.5 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.375/1.375, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 11.98 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 63.55 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002305/0.1317, allocations: 1.397 MB / 484.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1329, allocations: 0.5652 MB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.133, allocations: 4 kB / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.1336, allocations: 451.2 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.1341, allocations: 279.4 kB / 485.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1345, allocations: 162.8 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1348, allocations: 183.6 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1349, allocations: 12.23 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1351, allocations: 107.7 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1354, allocations: 211.5 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1354, allocations: 4 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1355, allocations: 43.98 kB / 486.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1356, allocations: 83.67 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.502e-05/0.1357, allocations: 128.6 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.136, allocations: 271.2 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.136, allocations: 0 / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.136, allocations: 0 / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1361, allocations: 0 / 487 MB, free: 192 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006911/0.1368, allocations: 0.6146 MB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1368, allocations: 12.88 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.975e-05/0.1369, allocations: 30.75 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1369, allocations: 44.38 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1372, allocations: 304.1 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1372, allocations: 4.375 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1372, allocations: 4.375 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1374, allocations: 73.55 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1374, allocations: 0 / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1375, allocations: 4 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1375, allocations: 0 / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1376, allocations: 35.97 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.1381, allocations: 420.6 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1383, allocations: 42.56 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.1383, allocations: 24.92 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1384, allocations: 4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.1384, allocations: 30.56 kB / 488.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1384, allocations: 4 kB / 488.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00104/0.1394, allocations: 355.8 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1395, allocations: 59.28 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/0.1403, allocations: 0.8699 MB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1403, allocations: 33.7 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1405, allocations: 228.1 kB / 490.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1405, allocations: 31.5 kB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1406, allocations: 17.7 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1407, allocations: 358.8 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.1408, allocations: 35.97 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.1409, allocations: 40.05 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1411, allocations: 84.81 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1411, allocations: 0 / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002662/0.1414, allocations: 157 kB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1414, allocations: 11.94 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1414, allocations: 0 / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1414, allocations: 0 / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1415, allocations: 27.92 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1416, allocations: 0 / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.1416, allocations: 7.984 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1417, allocations: 8 kB / 491 MB, free: 12.02 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.0001888/0.1418, allocations: 213.8 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.1419, allocations: 43.44 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.1423, allocations: 189.5 kB / 491.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1423, allocations: 7.938 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1423, allocations: 0 / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1423, allocations: 0 / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.143, allocations: 0.5304 MB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.143, allocations: 4 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.1431, allocations: 19.98 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1431, allocations: 0 / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.1431, allocations: 0 / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1431, allocations: 0 / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.1431, allocations: 4 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1434, allocations: 256.1 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.1435, allocations: 120.5 kB / 492.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1435, allocations: 0 / 492.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.1436, allocations: 11.98 kB / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1437, allocations: 8 kB / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1437, allocations: 0 / 492.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006/0.1443, allocations: 0.6667 MB / 493 MB, free: 9.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1443, allocations: 0 / 493 MB, free: 9.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1446, allocations: 28 kB / 493 MB, free: 9.82 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.001509/0.1461, allocations: 1.148 MB / 494.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1463, allocations: 79.95 kB / 494.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1464, allocations: 0 / 494.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1465, allocations: 47.97 kB / 494.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1469, allocations: 30.3 kB / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.1507, allocations: 3.512 MB / 497.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1511, allocations: 0.8423 MB / 498.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.833e-05/0.1512, allocations: 24.72 kB / 498.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1514, allocations: 115.4 kB / 498.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1514, allocations: 0 / 498.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.1693, allocations: 5.882 MB / 0.4929 GB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.1696, allocations: 229.9 kB / 0.4931 GB, free: 14.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/1.989, allocations: 0 / 0.4931 GB, free: 14.01 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches