Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.11 MB / 343.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 72.91 kB / 417.1 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 62.44 MB / 479.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00341/0.1317, allocations: 1.723 MB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009383/0.1327, allocations: 0.5417 MB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.1328, allocations: 4 kB / 481.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.1335, allocations: 443.2 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.1341, allocations: 283.4 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.1346, allocations: 127.2 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.135, allocations: 167.6 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1351, allocations: 15.98 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1353, allocations: 111.8 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.1356, allocations: 215.6 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1357, allocations: 8 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1358, allocations: 27.98 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.136, allocations: 83.69 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1361, allocations: 106.9 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.1365, allocations: 267.2 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1365, allocations: 0 / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1365, allocations: 0 / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1365, allocations: 0 / 483.7 MB, free: 1.367 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.0008992/0.1374, allocations: 0.6414 MB / 484.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1375, allocations: 12.03 kB / 484.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.1375, allocations: 34.75 kB / 484.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.1376, allocations: 48.36 kB / 484.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1379, allocations: 296.2 kB / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.138, allocations: 384 / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.138, allocations: 4.375 kB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1381, allocations: 57.56 kB / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1382, allocations: 0 / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1382, allocations: 0 / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1382, allocations: 0 / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1383, allocations: 31.97 kB / 484.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1388, allocations: 404.5 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.139, allocations: 46.48 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1391, allocations: 16.86 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1391, allocations: 4 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.1392, allocations: 30.56 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1392, allocations: 0 / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007023/0.1399, allocations: 224 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1399, allocations: 55.41 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/0.1409, allocations: 0.8815 MB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1409, allocations: 25.7 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1411, allocations: 224.1 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1411, allocations: 23.64 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1411, allocations: 17.72 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1413, allocations: 362.8 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1414, allocations: 20.05 kB / 487.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.1415, allocations: 23.98 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1416, allocations: 48.77 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1416, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002116/0.1418, allocations: 113.2 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1419, allocations: 6.656 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1419, allocations: 0 / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1419, allocations: 4 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.142, allocations: 11.98 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.142, allocations: 4 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.1421, allocations: 11.84 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1421, allocations: 0 / 487.3 MB, free: 13.49 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 (5): * Single equations (assignments): 5 * 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.0001828/0.1423, allocations: 213.8 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.1423, allocations: 39.53 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1426, allocations: 141.1 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1426, allocations: 4 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1426, allocations: 0 / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1426, allocations: 3.938 kB / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.1432, allocations: 466.3 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1432, allocations: 4.578 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.1433, allocations: 8 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1433, allocations: 7.938 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1433, allocations: 7.938 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1433, allocations: 4 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1433, allocations: 0 / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1435, allocations: 211 kB / 488.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1436, allocations: 116.5 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1437, allocations: 3.938 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.1438, allocations: 4 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1438, allocations: 11.94 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1438, allocations: 3.984 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000617/0.1444, allocations: 0.655 MB / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1444, allocations: 0 / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1447, allocations: 27.98 kB / 489.2 MB, free: 11.48 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 (5): * Single equations (assignments): 5 * 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.001328/0.146, allocations: 1.043 MB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1463, allocations: 47.91 kB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1463, allocations: 0 / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.1464, allocations: 27.97 kB / 490.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.1468, allocations: 22.31 kB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.1506, allocations: 3.33 MB / 493.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.151, allocations: 0.8221 MB / 494.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.1511, allocations: 12 kB / 494.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1512, allocations: 103.5 kB / 494.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1512, allocations: 3.938 kB / 494.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.1668, allocations: 5.818 MB / 0.4887 GB, free: 328 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.167, allocations: 233.5 kB / 0.4889 GB, free: 68 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.103, allocations: 0 / 0.4889 GB, free: 68 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches