Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 210.4 kB / 18.58 MB, free: 4.535 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.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 80.11 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003143/0.1413, allocations: 1.666 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000955/0.1423, allocations: 0.5571 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.1424, allocations: 0 / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.1429, allocations: 455.1 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.1434, allocations: 291.3 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1438, allocations: 135 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.144, allocations: 171.6 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.1441, allocations: 15.98 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1443, allocations: 111.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1445, allocations: 211.6 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1445, allocations: 4 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.1446, allocations: 43.86 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1447, allocations: 87.67 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.1448, allocations: 103 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1451, allocations: 259.2 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1451, allocations: 0 / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1451, allocations: 0 / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1451, allocations: 0 / 484.2 MB, free: 1.094 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.0006966/0.1458, allocations: 0.6608 MB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1459, allocations: 8.031 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1459, allocations: 34.75 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.146, allocations: 44.38 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1462, allocations: 304.2 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-06/0.1463, allocations: 4.312 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1463, allocations: 12.36 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1464, allocations: 65.59 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1464, allocations: 4 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.1465, allocations: 0 / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-06/0.1465, allocations: 0 / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1466, allocations: 35.97 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.147, allocations: 392.6 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1471, allocations: 46.56 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.1472, allocations: 24.94 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1472, allocations: 0 / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1472, allocations: 34.56 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1472, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007645/0.148, allocations: 296 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.148, allocations: 51.41 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.1488, allocations: 0.8698 MB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1488, allocations: 29.7 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.149, allocations: 219.9 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.149, allocations: 23.7 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1491, allocations: 21.72 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1492, allocations: 362.8 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1493, allocations: 31.97 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.1494, allocations: 31.91 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1496, allocations: 76.81 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1497, allocations: 0 / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002938/0.15, allocations: 145.1 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.15, allocations: 8 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.15, allocations: 0 / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.15, allocations: 0 / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1501, allocations: 27.98 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.1501, allocations: 7.875 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1502, allocations: 11.92 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1502, allocations: 4 kB / 488 MB, free: 13.01 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 0.0001692/0.1504, allocations: 213.8 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1505, allocations: 43.44 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.1508, allocations: 169.8 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1508, allocations: 4 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1508, allocations: 0 / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1508, allocations: 3.938 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.1514, allocations: 0.4905 MB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1514, allocations: 4 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.1515, allocations: 19.98 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1515, allocations: 3.938 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1515, allocations: 7.938 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1515, allocations: 0 / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1515, allocations: 3.984 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1519, allocations: 246.9 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1519, allocations: 112.5 kB / 489.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.152, allocations: 7.938 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1521, allocations: 11.98 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.1521, allocations: 7.984 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1521, allocations: 4 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005398/0.1527, allocations: 0.655 MB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1527, allocations: 0 / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1529, allocations: 32 kB / 490.1 MB, free: 10.88 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.001276/0.1542, allocations: 1.072 MB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1545, allocations: 79.94 kB / 491.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1545, allocations: 0 / 491.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1546, allocations: 47.89 kB / 491.3 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1549, allocations: 30.23 kB / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.1584, allocations: 3.332 MB / 494.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1587, allocations: 0.8299 MB / 495.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.1588, allocations: 16.64 kB / 495.5 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1589, allocations: 103.5 kB / 495.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1589, allocations: 3.938 kB / 495.6 MB, free: 5.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.1819, allocations: 6.034 MB / 0.4898 GB, free: 15.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.079, allocations: 5.141 kB / 0.4899 GB, free: 15.37 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches