Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000926/0.000926, allocations: 93.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004139, allocations: 11.98 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 63.55 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002421/0.1346, allocations: 1.373 MB / 484.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1357, allocations: 0.5652 MB / 485.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.1358, allocations: 4 kB / 485.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.1364, allocations: 451.2 kB / 485.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.1369, allocations: 279.4 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.1374, allocations: 163 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.1377, allocations: 167.6 kB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1378, allocations: 15.98 kB / 486.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.138, allocations: 103.8 kB / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.1383, allocations: 207.6 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1383, allocations: 0 / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1384, allocations: 35.97 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1385, allocations: 83.64 kB / 486.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1387, allocations: 128.7 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.139, allocations: 251.2 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.139, allocations: 0 / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.979e-06/0.139, allocations: 0 / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.139, allocations: 3.938 kB / 487 MB, free: 280 kB / 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.0007476/0.1398, allocations: 0.5989 MB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.1398, allocations: 20.8 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.1399, allocations: 30.75 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.1399, allocations: 44.38 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1403, allocations: 300.1 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1403, allocations: 4.375 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1404, allocations: 4.375 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1405, allocations: 61.61 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1406, allocations: 7.938 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1406, allocations: 0 / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1406, allocations: 0 / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1407, allocations: 31.97 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1413, allocations: 404.7 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1415, allocations: 46.5 kB / 488.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.1416, allocations: 20.94 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1416, allocations: 4 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1416, allocations: 30.56 kB / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.1416, allocations: 4 kB / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007067/0.1423, allocations: 260.2 kB / 488.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1424, allocations: 55.41 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/0.1433, allocations: 0.8815 MB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1433, allocations: 25.7 kB / 489.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1435, allocations: 220.1 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1435, allocations: 27.64 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1435, allocations: 9.719 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1437, allocations: 362.8 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.1438, allocations: 27.98 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.1439, allocations: 27.97 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1441, allocations: 56.83 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1441, allocations: 7.938 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002438/0.1443, allocations: 129.2 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1444, allocations: 7.938 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1444, allocations: 0 / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1444, allocations: 0 / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.1445, allocations: 19.98 kB / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1445, allocations: 3.984 kB / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.1445, allocations: 11.94 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1446, allocations: 0 / 490.7 MB, free: 12.34 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.0001707/0.1447, allocations: 213.8 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.1448, allocations: 43.44 kB / 490.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.1451, allocations: 157.3 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1451, allocations: 4 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1451, allocations: 0 / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1451, allocations: 7.875 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.1456, allocations: 482.3 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1457, allocations: 4 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.1457, allocations: 15.98 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1457, allocations: 4 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1458, allocations: 3.938 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1458, allocations: 0 / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1458, allocations: 0 / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.146, allocations: 223 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.1461, allocations: 116.5 kB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1461, allocations: 7.938 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.1462, allocations: 4 kB / 491.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1463, allocations: 7.984 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1463, allocations: 4 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.1469, allocations: 0.6589 MB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1469, allocations: 3.938 kB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1472, allocations: 28 kB / 492.6 MB, free: 10.27 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.001354/0.1485, allocations: 1.056 MB / 493.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1488, allocations: 63.91 kB / 493.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1488, allocations: 0 / 493.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.1489, allocations: 35.97 kB / 493.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1492, allocations: 26.17 kB / 493.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.1528, allocations: 3.397 MB / 497.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1531, allocations: 0.8302 MB / 498 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.574e-05/0.1532, allocations: 20.64 kB / 498.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1533, allocations: 111.4 kB / 498.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1534, allocations: 0 / 498.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.1689, allocations: 5.548 MB / 0.4919 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.1691, allocations: 228.5 kB / 0.4921 GB, free: 15.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.969, allocations: 0 / 0.4921 GB, free: 15.02 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches