Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 104.4 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.001214/0.001214, 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.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 78.91 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002923/0.1385, allocations: 1.659 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1402, allocations: 1.195 MB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.1403, allocations: 0 / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.1405, allocations: 35.77 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.1408, allocations: 87.61 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1412, allocations: 175.1 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1414, allocations: 79.77 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.1415, allocations: 16 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.1415, allocations: 31.84 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1417, allocations: 39.83 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1417, allocations: 8 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1419, allocations: 103.9 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1419, allocations: 15.92 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.142, allocations: 35.8 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1422, allocations: 151.9 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1423, allocations: 4 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1423, allocations: 0 / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1423, allocations: 3.938 kB / 483.8 MB, free: 1.555 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.0005807/0.1429, allocations: 411.1 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1429, allocations: 8.031 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1429, allocations: 38.75 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.143, allocations: 12.83 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1432, allocations: 203 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1432, allocations: 4.375 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1433, allocations: 4.375 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1435, allocations: 83.25 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1435, allocations: 0 / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1435, allocations: 4 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1435, allocations: 3.984 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1437, allocations: 43.97 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.1441, allocations: 304.8 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1443, allocations: 50.48 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.1444, allocations: 28.94 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1444, allocations: 7.938 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1444, allocations: 30.56 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1444, allocations: 0 / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008553/0.1453, allocations: 245.1 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1454, allocations: 81.05 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1455, allocations: 153.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1455, allocations: 25.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.1456, allocations: 100.1 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.1456, allocations: 23.7 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.1457, allocations: 21.72 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1458, allocations: 322.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1459, allocations: 35.97 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1461, allocations: 53.67 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1463, allocations: 92.77 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1463, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003123/0.1467, allocations: 125.5 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1467, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1467, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1467, allocations: 4 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1468, allocations: 15.98 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1468, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1469, allocations: 31.77 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.147, allocations: 4 kB / 486.3 MB, free: 14.78 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 (7): * Single equations (assignments): 7 * 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 8.651e-05/0.147, allocations: 117.8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.1471, allocations: 7.906 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.1475, allocations: 142.3 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1475, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1475, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1475, allocations: 3.938 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.1481, allocations: 414.8 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1481, allocations: 0 / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.1482, allocations: 27.97 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1482, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1482, allocations: 3.938 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1482, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1482, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1485, allocations: 223.4 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1486, allocations: 93 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1487, allocations: 7.938 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1488, allocations: 11.92 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1488, allocations: 4 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1488, allocations: 4 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.1489, allocations: 125.6 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1489, allocations: 0 / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1492, allocations: 43.98 kB / 487.5 MB, free: 13.46 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 (7): * Single equations (assignments): 7 * 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.00157/0.1508, allocations: 1.13 MB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.1511, allocations: 99.86 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1511, allocations: 0 / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1513, allocations: 52.05 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1516, allocations: 20.12 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.1537, allocations: 1.639 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.154, allocations: 0.7041 MB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.417e-05/0.1541, allocations: 20.7 kB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.1542, allocations: 43.28 kB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1542, allocations: 0 / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1769, allocations: 3.501 MB / 494.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.605, allocations: 24.86 kB / 494.7 MB, free: 6.328 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches