Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, 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.001471/0.001471, 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.447/1.447, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 75.72 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1272, allocations: 62.44 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003456/0.1307, allocations: 1.657 MB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1318, allocations: 0.5417 MB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1319, allocations: 0 / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1322, allocations: 19.88 kB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.1325, allocations: 59.81 kB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1328, allocations: 99.56 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.133, allocations: 63.84 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1331, allocations: 15.97 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.1332, allocations: 23.86 kB / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.1332, allocations: 27.8 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1333, allocations: 7.938 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.1334, allocations: 23.98 kB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.1334, allocations: 8 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1335, allocations: 31.78 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1337, allocations: 76.08 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1337, allocations: 0 / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1337, allocations: 0 / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1337, allocations: 0 / 482 MB, free: 2.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004943/0.1342, allocations: 391.1 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1342, allocations: 8.875 kB / 482.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.1343, allocations: 38.69 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1343, allocations: 8.844 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1345, allocations: 188.2 kB / 482.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1345, allocations: 12.38 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1346, allocations: 384 / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1347, allocations: 53.61 kB / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1348, allocations: 0 / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1348, allocations: 0 / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1348, allocations: 0 / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.1349, allocations: 23.98 kB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1353, allocations: 296.8 kB / 483 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1356, allocations: 38.56 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.1356, allocations: 20.94 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1357, allocations: 0 / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1357, allocations: 30.56 kB / 483.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1357, allocations: 4 kB / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006552/0.1363, allocations: 157.2 kB / 483.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1364, allocations: 51.41 kB / 483.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1366, allocations: 142.2 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1366, allocations: 37.64 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.1366, allocations: 92.12 kB / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1367, allocations: 15.81 kB / 483.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1367, allocations: 21.7 kB / 483.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1368, allocations: 322.8 kB / 483.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.1369, allocations: 23.97 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.137, allocations: 19.98 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1371, allocations: 48.83 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1372, allocations: 7.938 kB / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001896/0.1374, allocations: 85.56 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1374, allocations: 4 kB / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1374, allocations: 0 / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1374, allocations: 0 / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.1375, allocations: 27.86 kB / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1375, allocations: 0 / 484.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1375, allocations: 7.938 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1376, allocations: 3.938 kB / 484.2 MB, free: 0.6094 MB / 350.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 8.757e-05/0.1377, allocations: 117.8 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1377, allocations: 11.89 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1379, allocations: 93.97 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.138, allocations: 0 / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.138, allocations: 0 / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.138, allocations: 320 / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1385, allocations: 370.3 kB / 484.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1385, allocations: 0 / 484.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.1385, allocations: 11.98 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1385, allocations: 288 / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1386, allocations: 4 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1386, allocations: 3.938 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1386, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1388, allocations: 191.4 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.1389, allocations: 81.09 kB / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1389, allocations: 3.984 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.139, allocations: 7.938 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.139, allocations: 4 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.139, allocations: 3.984 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1391, allocations: 117.7 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1391, allocations: 4 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1394, allocations: 19.89 kB / 485.2 MB, free: 15.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.001396/0.1408, allocations: 1.01 MB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.141, allocations: 55.95 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.141, allocations: 0 / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.1411, allocations: 23.98 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1415, allocations: 19.92 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1432, allocations: 1.473 MB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1435, allocations: 0.6961 MB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.292e-05/0.1436, allocations: 16.06 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.1436, allocations: 27.42 kB / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1436, allocations: 4 kB / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.1567, allocations: 2.341 MB / 490.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1569, allocations: 234.4 kB / 491.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.167, allocations: 0 / 491.1 MB, free: 9.645 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches