Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001173, 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.001367/0.001367, 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.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 81.62 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1052, allocations: 62.44 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002996/0.1082, allocations: 1.645 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.1091, allocations: 0.688 MB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.1091, allocations: 0 / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.1094, allocations: 27.84 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1095, allocations: 43.83 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.5e-06/0.1096, allocations: 0 / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1097, allocations: 35.83 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.092e-05/0.1097, allocations: 0 / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.1098, allocations: 11.94 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.1099, allocations: 27.86 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1099, allocations: 0 / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.1099, allocations: 11.98 kB / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.11, allocations: 12 kB / 482.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.11, allocations: 23.8 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1102, allocations: 71.97 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1102, allocations: 0 / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1102, allocations: 0 / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1102, allocations: 0 / 482.7 MB, free: 2.535 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004348/0.1107, allocations: 363.4 kB / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1107, allocations: 16.03 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.1108, allocations: 34.75 kB / 483.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.1108, allocations: 8.75 kB / 483.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.111, allocations: 180.2 kB / 483.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.111, allocations: 384 / 483.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.111, allocations: 4.375 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1112, allocations: 129.9 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1113, allocations: 3.938 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1113, allocations: 3.938 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.1113, allocations: 23.98 kB / 483.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.1114, allocations: 47.89 kB / 483.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.112, allocations: 0.8906 MB / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.1121, allocations: 169.2 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.1122, allocations: 84.08 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1122, allocations: 79.28 kB / 484.7 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1123, allocations: 113.8 kB / 484.8 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.1123, allocations: 0 / 484.8 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.442e-05/0.1123, allocations: 41.61 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1124, allocations: 126.7 kB / 485 MB, free: 12 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1126, allocations: 186 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1126, allocations: 25.7 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.1127, allocations: 151.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.1127, allocations: 4 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.1128, allocations: 49.55 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.1129, allocations: 326.8 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.113, allocations: 23.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1131, allocations: 157.1 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1133, allocations: 208.9 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1133, allocations: 3.938 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003059/0.1136, allocations: 197.4 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1136, allocations: 8 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1137, allocations: 4 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1137, allocations: 8 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1138, allocations: 39.92 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1138, allocations: 7.938 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.1139, allocations: 27.69 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1139, allocations: 12.34 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001186/0.1141, allocations: 217 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.1141, allocations: 112.8 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.1142, allocations: 124.8 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-05/0.1143, allocations: 176.3 kB / 487 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-05/0.1144, allocations: 176.3 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.759e-05/0.1144, allocations: 184.2 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.1147, allocations: 425.1 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/0.1147, allocations: 108.9 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.1148, allocations: 101 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-05/0.1149, allocations: 180.2 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.115, allocations: 184.2 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.73e-05/0.115, allocations: 188.3 kB / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.272e-05/0.1151, allocations: 184.1 kB / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1153, allocations: 311.7 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.1154, allocations: 189.9 kB / 489.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.1155, allocations: 180.3 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.1156, allocations: 108.9 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.1157, allocations: 180.2 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.1157, allocations: 101 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1158, allocations: 131.2 kB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1158, allocations: 4 kB / 489.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1162, allocations: 8 kB / 489.9 MB, free: 10.71 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 (0): * Single equations (assignments): 0 * 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.0008729/0.1171, allocations: 0.9229 MB / 490.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.1172, allocations: 76.66 kB / 490.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1173, allocations: 0 / 490.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.1173, allocations: 0 / 490.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1176, allocations: 463.7 kB / 491.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1192, allocations: 1.875 MB / 493.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1195, allocations: 0.7044 MB / 493.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.1197, allocations: 49.02 kB / 494 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.1198, allocations: 27.38 kB / 494 MB, free: 6.406 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1198, allocations: 0 / 494 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.1525, allocations: 2.036 MB / 496.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.268, allocations: 22.19 kB / 496.1 MB, free: 4.418 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches