Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001047, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, 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.1916/0.1916, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 83.45 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004457/0.1154, allocations: 1.646 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.1164, allocations: 0.6802 MB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.1165, allocations: 4 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1168, allocations: 27.83 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1171, allocations: 39.84 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.875e-06/0.1171, allocations: 0 / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1173, allocations: 39.83 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.1174, allocations: 8 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.1174, allocations: 7.938 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.1175, allocations: 19.91 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1175, allocations: 0 / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.1176, allocations: 12 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.1176, allocations: 15.92 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.1177, allocations: 31.73 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1178, allocations: 71.97 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1179, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1179, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1179, allocations: 4 kB / 482.7 MB, free: 2.551 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.0004993/0.1184, allocations: 359.4 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1184, allocations: 8.031 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.1185, allocations: 42.73 kB / 483.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1185, allocations: 8.75 kB / 483.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1187, allocations: 168.3 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1187, allocations: 4.375 kB / 483.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1187, allocations: 4.312 kB / 483.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1189, allocations: 126.3 kB / 483.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.119, allocations: 3.938 kB / 483.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.119, allocations: 3.984 kB / 483.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/0.119, allocations: 27.92 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.1191, allocations: 39.92 kB / 483.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.1198, allocations: 0.8906 MB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.1199, allocations: 173.1 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.1199, allocations: 84.08 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.1199, allocations: 79.28 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.12, allocations: 113.9 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.12, allocations: 0 / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.969e-05/0.1201, allocations: 37.61 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.1202, allocations: 130.7 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1204, allocations: 190 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1204, allocations: 25.7 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.1205, allocations: 147.1 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-06/0.1205, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.1206, allocations: 41.62 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1207, allocations: 326.8 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.1207, allocations: 35.97 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1209, allocations: 161 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1211, allocations: 204.9 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1211, allocations: 4 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003098/0.1214, allocations: 197 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1214, allocations: 4 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1215, allocations: 4 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.1215, allocations: 8.625 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1216, allocations: 35.92 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.1217, allocations: 19.92 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.392e-05/0.1218, allocations: 31.69 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1218, allocations: 8 kB / 486.4 MB, free: 14.46 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.000128/0.1219, allocations: 213 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.122, allocations: 120.8 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.1221, allocations: 112.9 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-05/0.1221, allocations: 188.2 kB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-05/0.1222, allocations: 180.3 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/0.1223, allocations: 176.3 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1226, allocations: 429.1 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.1226, allocations: 105 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1226, allocations: 104.9 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-05/0.1227, allocations: 180.3 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/0.1228, allocations: 176.3 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/0.1229, allocations: 192.2 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.893e-05/0.1229, allocations: 180.3 kB / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1231, allocations: 315.6 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.1232, allocations: 185.9 kB / 489.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.1233, allocations: 188.2 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.1233, allocations: 101 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.1234, allocations: 184.2 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.1235, allocations: 101 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1236, allocations: 135.2 kB / 489.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1236, allocations: 0 / 489.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1239, allocations: 16 kB / 489.9 MB, free: 10.73 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.0007266/0.1246, allocations: 0.917 MB / 490.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1248, allocations: 75.78 kB / 490.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1248, allocations: 0 / 490.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.1248, allocations: 4 kB / 490.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1251, allocations: 460.9 kB / 491.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1266, allocations: 1.872 MB / 493.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.1269, allocations: 0.6928 MB / 493.9 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.1271, allocations: 49.02 kB / 494 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.1272, allocations: 31.42 kB / 494 MB, free: 6.441 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1272, allocations: 4 kB / 494 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.148, allocations: 2.049 MB / 496.1 MB, free: 4.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.452, allocations: 19.55 kB / 496.1 MB, free: 4.441 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches