Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 78.16 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1357, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003712/0.1394, allocations: 1.698 MB / 481.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1405, allocations: 0.5961 MB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.1406, allocations: 0 / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1409, allocations: 35.77 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1413, allocations: 75.56 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.1418, allocations: 195 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.142, allocations: 87.77 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1421, allocations: 23.98 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.1422, allocations: 43.78 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.1423, allocations: 39.78 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1424, allocations: 8 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1426, allocations: 103.9 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.1427, allocations: 19.92 kB / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.1427, allocations: 43.72 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1431, allocations: 163.8 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1431, allocations: 7.938 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1431, allocations: 0 / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1431, allocations: 0 / 483.2 MB, free: 2.031 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.0007223/0.1438, allocations: 451 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1439, allocations: 8.031 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.1439, allocations: 34.75 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.144, allocations: 12.78 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1442, allocations: 204.1 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1442, allocations: 8.375 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1443, allocations: 4.375 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1446, allocations: 91.3 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1446, allocations: 0 / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1446, allocations: 7.984 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1446, allocations: 4 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.145, allocations: 71.92 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.1456, allocations: 364.4 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1458, allocations: 74.53 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.146, allocations: 48.94 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.146, allocations: 0 / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1461, allocations: 38.56 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1461, allocations: 0 / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001656/0.1477, allocations: 412.8 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.1478, allocations: 77.11 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.148, allocations: 170.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.148, allocations: 33.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.1481, allocations: 100.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1481, allocations: 27.56 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.1482, allocations: 29.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1483, allocations: 322.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.1486, allocations: 75.92 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.1489, allocations: 97.62 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.1495, allocations: 176.9 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1495, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006601/0.1502, allocations: 213.3 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1502, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1502, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1502, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1505, allocations: 43.95 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1505, allocations: 3.938 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1507, allocations: 23.97 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1507, allocations: 4 kB / 486.4 MB, free: 14.61 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 (10): * Single equations (assignments): 10 * 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.0001047/0.1508, allocations: 125.8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.1508, allocations: 7.906 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.1515, allocations: 226.1 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1515, allocations: 4 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1516, allocations: 3.938 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1516, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.1525, allocations: 0.5256 MB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1525, allocations: 3.938 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.1527, allocations: 39.89 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1528, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1528, allocations: 8 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1528, allocations: 0 / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1528, allocations: 0 / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.1535, allocations: 303.5 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.1536, allocations: 92.94 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1536, allocations: 4 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1538, allocations: 23.97 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.1539, allocations: 11.98 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1539, allocations: 4.375 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.154, allocations: 123.2 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1541, allocations: 4 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.1544, allocations: 47.98 kB / 488 MB, free: 12.96 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 (9): * Single equations (assignments): 9 * 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.002146/0.1565, allocations: 1.236 MB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.1573, allocations: 179.8 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1573, allocations: 0 / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.1576, allocations: 87.92 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.158, allocations: 22.03 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.1611, allocations: 1.93 MB / 491.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1614, allocations: 0.7041 MB / 492.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.1616, allocations: 36.44 kB / 492.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.1617, allocations: 47.41 kB / 492.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1617, allocations: 0 / 492.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.1839, allocations: 4.292 MB / 496.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.506, allocations: 16.52 kB / 496.5 MB, free: 4.547 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches