Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 74.69 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003706/0.1358, allocations: 1.939 MB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1378, allocations: 1.087 MB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.138, allocations: 4 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.1385, allocations: 259.2 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.1391, allocations: 267.1 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1405, allocations: 0.6365 MB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.1411, allocations: 315.1 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1413, allocations: 64.7 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.1415, allocations: 131.5 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.1418, allocations: 199.2 kB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1418, allocations: 12 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.142, allocations: 55.97 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1422, allocations: 95.61 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1423, allocations: 115 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.1428, allocations: 303.1 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1428, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009132/0.1437, allocations: 0.661 MB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1438, allocations: 12.03 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.1438, allocations: 42.73 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.1439, allocations: 48.31 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1443, allocations: 342 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1443, allocations: 4.375 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1443, allocations: 4.375 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1446, allocations: 97.58 kB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1446, allocations: 4 kB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1446, allocations: 0 / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1446, allocations: 0 / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1448, allocations: 79.94 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.1455, allocations: 476.4 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1457, allocations: 74.47 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.1457, allocations: 32.97 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1458, allocations: 4 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1458, allocations: 34.56 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1458, allocations: 0 / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004003/0.1462, allocations: 161.1 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1463, allocations: 59.34 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/0.1469, allocations: 0.5918 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1469, allocations: 29.64 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1471, allocations: 216.1 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1471, allocations: 27.69 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.1472, allocations: 13.72 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1473, allocations: 354.8 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.1474, allocations: 27.97 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.1475, allocations: 27.98 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1476, allocations: 64.83 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1476, allocations: 384 / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002372/0.1479, allocations: 133.2 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1479, allocations: 7.938 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1479, allocations: 4 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1479, allocations: 3.938 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.148, allocations: 15.92 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.148, allocations: 0 / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.1481, allocations: 11.84 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1481, allocations: 4 kB / 489.2 MB, free: 11.85 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 (6): * Single equations (assignments): 6 * 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.0001703/0.1483, allocations: 177.8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.1484, allocations: 35.53 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.1487, allocations: 153.2 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1487, allocations: 7.938 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1487, allocations: 0 / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1488, allocations: 3.938 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.1491, allocations: 301.4 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1491, allocations: 7.938 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.1492, allocations: 15.98 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1492, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1492, allocations: 4 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1492, allocations: 3.938 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1492, allocations: 4 kB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.1496, allocations: 215 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1497, allocations: 128.6 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1498, allocations: 0 / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.1499, allocations: 7.938 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1499, allocations: 7.984 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1499, allocations: 192 / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004891/0.1504, allocations: 454.8 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1504, allocations: 0 / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1507, allocations: 39.84 kB / 490.7 MB, free: 10.21 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 (6): * Single equations (assignments): 6 * 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.001858/0.1526, allocations: 1.256 MB / 492 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1528, allocations: 63.89 kB / 492 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1528, allocations: 0 / 492 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.1529, allocations: 35.98 kB / 492.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.1535, allocations: 79.14 kB / 492.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.1572, allocations: 2.995 MB / 495.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1576, allocations: 0.8139 MB / 496 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1578, allocations: 53.88 kB / 496 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.158, allocations: 119.4 kB / 496.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.158, allocations: 0 / 496.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.1855, allocations: 6.837 MB / 0.4912 GB, free: 14.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.528, allocations: 8.875 kB / 0.4912 GB, free: 14.12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches