Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.001561, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.97 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 62.44 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004078/0.1363, allocations: 1.72 MB / 481.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1385, allocations: 1.179 MB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.1386, allocations: 0 / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1388, allocations: 23.91 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.1392, allocations: 63.75 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1398, allocations: 171.3 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.14, allocations: 71.77 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1401, allocations: 19.98 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.1402, allocations: 31.8 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1404, allocations: 39.83 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1404, allocations: 8 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1406, allocations: 87.94 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.1407, allocations: 19.86 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.1408, allocations: 31.8 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1411, allocations: 151.9 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1411, allocations: 3.938 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1411, allocations: 0 / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1411, allocations: 0 / 483 MB, free: 1.996 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.0006658/0.1418, allocations: 415.2 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1418, allocations: 12.88 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.1419, allocations: 42.73 kB / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.142, allocations: 8.844 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1423, allocations: 204 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1423, allocations: 4.375 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1423, allocations: 384 / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1426, allocations: 79.31 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1426, allocations: 0 / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1426, allocations: 12 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1426, allocations: 0 / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1428, allocations: 35.97 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.1433, allocations: 308.7 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1435, allocations: 54.55 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.1436, allocations: 24.94 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1436, allocations: 0 / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.1436, allocations: 30.56 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1437, allocations: 0 / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001404/0.1451, allocations: 241.2 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.1452, allocations: 81.05 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1455, allocations: 165.6 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1455, allocations: 25.7 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.1456, allocations: 92.14 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1457, allocations: 27.7 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.1457, allocations: 21.72 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1459, allocations: 318.8 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.146, allocations: 43.97 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1462, allocations: 53.67 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.1465, allocations: 84.83 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1465, allocations: 0 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003821/0.1469, allocations: 134 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1469, allocations: 4 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1469, allocations: 3.938 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.147, allocations: 4 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1471, allocations: 19.98 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1471, allocations: 0 / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.1473, allocations: 27.75 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1473, allocations: 4 kB / 485.5 MB, free: 15.21 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.0001092/0.1474, allocations: 117.8 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.1475, allocations: 15.83 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.1479, allocations: 142.3 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1479, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1479, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1479, allocations: 3.938 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.1486, allocations: 410.5 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1487, allocations: 0 / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1488, allocations: 23.97 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1488, allocations: 0 / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1488, allocations: 11.88 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1488, allocations: 0 / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1488, allocations: 4 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1492, allocations: 219.4 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1493, allocations: 85 kB / 486.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.1494, allocations: 7.938 kB / 486.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1495, allocations: 15.92 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1495, allocations: 4 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1495, allocations: 0 / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1497, allocations: 121.7 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1497, allocations: 4 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1501, allocations: 39.98 kB / 486.7 MB, free: 13.91 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.001815/0.1519, allocations: 1.145 MB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.1522, allocations: 95.92 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1523, allocations: 0 / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1524, allocations: 51.89 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1528, allocations: 21.11 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.155, allocations: 1.664 MB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1553, allocations: 0.7049 MB / 490.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1554, allocations: 20.72 kB / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.1555, allocations: 35.41 kB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1556, allocations: 4 kB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1792, allocations: 3.33 MB / 493.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/0.1796, allocations: 231.3 kB / 494 MB, free: 6.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.138, allocations: 3.938 kB / 494 MB, free: 6.711 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches