Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, 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.001196/0.001196, allocations: 212.6 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.388/1.388, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.78 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1351, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003604/0.1388, allocations: 1.667 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.14, allocations: 0.5844 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1401, allocations: 4 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.1408, allocations: 451.1 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.1414, allocations: 299.3 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.1419, allocations: 179.1 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1422, allocations: 175.6 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1424, allocations: 36.19 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1426, allocations: 107.7 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1428, allocations: 215.6 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1428, allocations: 4 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.143, allocations: 55.91 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1431, allocations: 79.7 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.1432, allocations: 114.9 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1435, allocations: 275.2 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1435, allocations: 0 / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1436, allocations: 0 / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1436, allocations: 0 / 484.3 MB, free: 0.9609 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.0008503/0.1444, allocations: 0.6569 MB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1445, allocations: 12.03 kB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1445, allocations: 30.75 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.1446, allocations: 44.38 kB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.145, allocations: 308.1 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.145, allocations: 4.375 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1451, allocations: 384 / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1453, allocations: 69.55 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1453, allocations: 0 / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1453, allocations: 4 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1454, allocations: 4 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1455, allocations: 39.91 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.1462, allocations: 408.6 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1464, allocations: 50.59 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.1464, allocations: 20.94 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1465, allocations: 4 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1465, allocations: 30.56 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1465, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001049/0.1476, allocations: 323.7 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1476, allocations: 55.34 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000841/0.1485, allocations: 0.8815 MB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1485, allocations: 29.7 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1487, allocations: 220.1 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1487, allocations: 27.64 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1488, allocations: 21.72 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1489, allocations: 366.8 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.149, allocations: 31.97 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.1491, allocations: 31.97 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1493, allocations: 77 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1493, allocations: 0 / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002731/0.1496, allocations: 153 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1496, allocations: 8 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1496, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1497, allocations: 4 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1498, allocations: 19.92 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1498, allocations: 4 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.688e-05/0.1499, allocations: 8 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1499, allocations: 4 kB / 488.2 MB, free: 12.82 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 (8): * Single equations (assignments): 8 * 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.0002028/0.1501, allocations: 217.7 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.1502, allocations: 47.86 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.1505, allocations: 169.5 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1505, allocations: 7.938 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1505, allocations: 0 / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1506, allocations: 3.984 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.1513, allocations: 0.5226 MB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1513, allocations: 7.938 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.1514, allocations: 19.92 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1514, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1514, allocations: 8 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1514, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1514, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.1517, allocations: 255.8 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.1518, allocations: 112.5 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1519, allocations: 4 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.152, allocations: 7.984 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.152, allocations: 4 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.152, allocations: 3.938 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006435/0.1527, allocations: 0.6667 MB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1527, allocations: 0 / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.153, allocations: 35.98 kB / 490.3 MB, free: 10.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001791/0.1548, allocations: 1.121 MB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1551, allocations: 83.88 kB / 491.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1551, allocations: 4 kB / 491.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1552, allocations: 39.92 kB / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1557, allocations: 29.67 kB / 491.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.16, allocations: 3.426 MB / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.1604, allocations: 0.8377 MB / 495.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.817e-05/0.1606, allocations: 32.72 kB / 495.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1607, allocations: 115.4 kB / 496 MB, free: 4.969 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1607, allocations: 0 / 496 MB, free: 4.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.1845, allocations: 6.31 MB / 0.4905 GB, free: 14.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.458, allocations: 1.078 kB / 0.4905 GB, free: 14.71 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches