Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 107.5 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.001732/0.001733, 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.448/1.448, allocations: 227.4 MB / 246.3 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 75.53 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003846/0.1221, allocations: 1.74 MB / 481.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1233, allocations: 0.5924 MB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.1233, allocations: 4 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.124, allocations: 459.1 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.1244, allocations: 267.5 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.1249, allocations: 167.3 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1252, allocations: 179.6 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1253, allocations: 24.23 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1255, allocations: 111.7 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1257, allocations: 207.5 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1258, allocations: 4 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1259, allocations: 43.98 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.126, allocations: 91.56 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1261, allocations: 115 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.1265, allocations: 275.1 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1265, allocations: 4 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1265, allocations: 0 / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1265, allocations: 0 / 483.6 MB, free: 1.328 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008396/0.1273, allocations: 0.6609 MB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1274, allocations: 8.875 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.1274, allocations: 34.75 kB / 484.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.1275, allocations: 40.38 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1279, allocations: 320 kB / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1279, allocations: 4.312 kB / 484.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1279, allocations: 4.375 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1281, allocations: 73.55 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1282, allocations: 3.984 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1282, allocations: 0 / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1282, allocations: 0 / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1283, allocations: 39.97 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.129, allocations: 424.6 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1292, allocations: 58.55 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.1293, allocations: 24.97 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1294, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1294, allocations: 30.56 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1294, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001606/0.131, allocations: 0.4955 MB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1311, allocations: 55.41 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.1319, allocations: 0.8738 MB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1319, allocations: 25.7 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.1321, allocations: 216.1 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.1322, allocations: 43.44 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.1322, allocations: 21.72 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1324, allocations: 366.8 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1326, allocations: 60.45 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1327, allocations: 56.02 kB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.133, allocations: 120.8 kB / 487.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.133, allocations: 0 / 487.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004032/0.1334, allocations: 208.9 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1334, allocations: 8 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1334, allocations: 4 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1335, allocations: 3.938 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1336, allocations: 31.97 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1336, allocations: 0 / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.1337, allocations: 11.98 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1337, allocations: 0 / 487.9 MB, free: 12.8 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 (11): * Single equations (assignments): 11 * 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.0002225/0.1339, allocations: 229.7 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.134, allocations: 43.44 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.1345, allocations: 229.3 kB / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1345, allocations: 11.92 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1345, allocations: 0 / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1345, allocations: 4 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.1354, allocations: 0.5936 MB / 489 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1354, allocations: 7.938 kB / 489 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1355, allocations: 23.98 kB / 489 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.1355, allocations: 8.047 kB / 489 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1355, allocations: 8 kB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1355, allocations: 0 / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1355, allocations: 7.922 kB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.1359, allocations: 300.6 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.136, allocations: 112.5 kB / 489.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.1361, allocations: 4 kB / 489.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1362, allocations: 15.98 kB / 489.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1363, allocations: 7.984 kB / 489.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1363, allocations: 4 kB / 489.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006065/0.1369, allocations: 0.6589 MB / 490.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1369, allocations: 4 kB / 490.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1372, allocations: 36 kB / 490.2 MB, free: 10.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001635/0.1388, allocations: 1.19 MB / 491.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.1392, allocations: 127.9 kB / 491.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1392, allocations: 4 kB / 491.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1394, allocations: 67.89 kB / 491.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1398, allocations: 30.48 kB / 491.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.144, allocations: 3.659 MB / 495.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.1444, allocations: 0.8419 MB / 496.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1445, allocations: 32.38 kB / 496.1 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1447, allocations: 131.4 kB / 496.3 MB, free: 4.324 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1447, allocations: 0 / 496.3 MB, free: 4.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1633, allocations: 6.335 MB / 0.4908 GB, free: 14.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.1635, allocations: 229.5 kB / 0.491 GB, free: 13.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.185, allocations: 4 kB / 0.491 GB, free: 13.82 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches