Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 206.4 kB / 18.58 MB, free: 4.582 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.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 78.81 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 62.43 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002804/0.1107, allocations: 1.662 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.1117, allocations: 0.5806 MB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.1117, allocations: 0 / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1123, allocations: 467.1 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.1127, allocations: 295.2 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1131, allocations: 182.1 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1133, allocations: 183.6 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.1134, allocations: 12 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1135, allocations: 115.8 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1138, allocations: 211.6 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1138, allocations: 4 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.1139, allocations: 35.98 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.114, allocations: 83.69 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.203e-05/0.1141, allocations: 107 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1143, allocations: 275.1 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1143, allocations: 4 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1143, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1144, allocations: 4 kB / 484.3 MB, free: 0.9766 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.0006462/0.115, allocations: 0.6414 MB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1151, allocations: 12.03 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.1151, allocations: 34.75 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.1151, allocations: 44.38 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1154, allocations: 304.1 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1154, allocations: 384 / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1155, allocations: 16.36 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1156, allocations: 69.55 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1157, allocations: 3.906 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1157, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1157, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1158, allocations: 39.95 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1163, allocations: 408.7 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1165, allocations: 46.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.1165, allocations: 32.86 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1166, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1166, allocations: 34.56 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1166, allocations: 3.938 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008407/0.1174, allocations: 311.9 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1175, allocations: 51.41 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.1183, allocations: 0.8854 MB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1183, allocations: 25.7 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1184, allocations: 216 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1185, allocations: 23.7 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1185, allocations: 17.72 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1186, allocations: 362.8 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1188, allocations: 35.97 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1189, allocations: 39.97 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1191, allocations: 92.73 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1191, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003071/0.1194, allocations: 165.3 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1195, allocations: 8 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1195, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1195, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1196, allocations: 23.97 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1196, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.003e-05/0.1197, allocations: 11.94 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1197, allocations: 7.984 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 (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.0001713/0.1199, allocations: 217.7 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.12, allocations: 43.44 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.1204, allocations: 181.5 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1204, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1204, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1204, allocations: 3.938 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.121, allocations: 0.5139 MB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.121, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.1211, allocations: 23.97 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1211, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1212, allocations: 7.938 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1212, allocations: 3.938 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1212, allocations: 4 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1215, allocations: 254.9 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1216, allocations: 112.5 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1216, allocations: 7.922 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1217, allocations: 12 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1218, allocations: 11.98 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1218, allocations: 4 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000567/0.1224, allocations: 0.6589 MB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1224, allocations: 0 / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1226, allocations: 23.94 kB / 490.3 MB, free: 10.64 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.001389/0.124, allocations: 1.085 MB / 491.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1244, allocations: 95.86 kB / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1244, allocations: 0 / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1245, allocations: 52.06 kB / 491.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1249, allocations: 33.44 kB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.1288, allocations: 3.419 MB / 495 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.1292, allocations: 0.8299 MB / 495.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.1293, allocations: 20.64 kB / 495.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1295, allocations: 115.4 kB / 495.9 MB, free: 5 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1295, allocations: 4 kB / 495.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1537, allocations: 6.104 MB / 0.4903 GB, free: 14.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.425, allocations: 14.3 kB / 0.4903 GB, free: 14.93 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches