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.001396/0.001396, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 76.91 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1122, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003239/0.1155, allocations: 1.707 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.1163, allocations: 0.6644 MB / 482 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.1163, allocations: 0 / 482 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1166, allocations: 31.86 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1168, allocations: 39.88 kB / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.1168, allocations: 0 / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.117, allocations: 35.91 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.117, allocations: 7.984 kB / 482.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.117, allocations: 7.938 kB / 482.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.1171, allocations: 31.84 kB / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.1171, allocations: 0 / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.1172, allocations: 12 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.1172, allocations: 15.92 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.1173, allocations: 19.88 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1174, allocations: 75.95 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1174, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1174, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1174, allocations: 4 kB / 482.2 MB, free: 2.852 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.0003599/0.1178, allocations: 355.4 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1178, allocations: 16.02 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.1179, allocations: 34.75 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1179, allocations: 16.75 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.118, allocations: 180.2 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.1181, allocations: 384 / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1181, allocations: 4.375 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1182, allocations: 123.3 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1183, allocations: 3.938 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.1183, allocations: 3.984 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.1183, allocations: 23.98 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.1184, allocations: 47.84 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.119, allocations: 0.8906 MB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.1191, allocations: 169.2 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1191, allocations: 88.02 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1192, allocations: 75.28 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.1192, allocations: 105.8 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.875e-06/0.1192, allocations: 3.984 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.37e-05/0.1193, allocations: 33.61 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.1194, allocations: 134.7 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1196, allocations: 190 kB / 484.7 MB, free: 144 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1196, allocations: 25.7 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1197, allocations: 155.2 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.1197, allocations: 0 / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.1197, allocations: 45.61 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1199, allocations: 322.8 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.1199, allocations: 31.92 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.12, allocations: 156.9 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1202, allocations: 204.9 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1203, allocations: 0 / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003535/0.1206, allocations: 201 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1206, allocations: 8 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1206, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1207, allocations: 8 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1208, allocations: 36.55 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1208, allocations: 15.92 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.1209, allocations: 27.69 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1209, allocations: 12 kB / 485.9 MB, free: 14.76 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.0001014/0.121, allocations: 217 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.1211, allocations: 112.8 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.1211, allocations: 120.8 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.201e-05/0.1212, allocations: 184.3 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.261e-05/0.1212, allocations: 180.3 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-05/0.1213, allocations: 180.2 kB / 486.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1215, allocations: 425.1 kB / 487.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.1215, allocations: 104.9 kB / 487.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1216, allocations: 101 kB / 487.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.1217, allocations: 188.2 kB / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.1218, allocations: 184.2 kB / 487.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.1218, allocations: 176.3 kB / 488.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-05/0.1219, allocations: 188.2 kB / 488.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1221, allocations: 311.7 kB / 488.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.1222, allocations: 189.9 kB / 488.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.1223, allocations: 184.2 kB / 488.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.1224, allocations: 104.9 kB / 489 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.1225, allocations: 188.2 kB / 489.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.1225, allocations: 101 kB / 489.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.318e-05/0.1226, allocations: 127.2 kB / 489.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.1226, allocations: 3.938 kB / 489.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1229, allocations: 19.94 kB / 489.4 MB, free: 11.02 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.0007269/0.1236, allocations: 0.9103 MB / 490.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1238, allocations: 79.78 kB / 490.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1238, allocations: 0 / 490.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1238, allocations: 0 / 490.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1242, allocations: 460.9 kB / 490.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.126, allocations: 1.89 MB / 492.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1263, allocations: 0.6928 MB / 493.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.1266, allocations: 56.95 kB / 493.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.1267, allocations: 23.44 kB / 493.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1267, allocations: 4 kB / 493.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.152, allocations: 1.964 MB / 495.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.1524, allocations: 235.5 kB / 495.7 MB, free: 4.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.117, allocations: 0 / 495.7 MB, free: 4.59 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