Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007883/0.0007885, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.17 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.000309, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1078, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002069/0.1099, allocations: 1.393 MB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.1109, allocations: 0.5651 MB / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.111, allocations: 0 / 485.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1112, allocations: 55.86 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1115, allocations: 67.75 kB / 485.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1119, allocations: 167.2 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1121, allocations: 79.77 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1122, allocations: 24.22 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.1123, allocations: 31.84 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.926e-05/0.1124, allocations: 35.84 kB / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1124, allocations: 0 / 485.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1125, allocations: 55.91 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.1126, allocations: 19.92 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1126, allocations: 57.44 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1128, allocations: 111.9 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1128, allocations: 0 / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1128, allocations: 4 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1129, allocations: 0 / 485.8 MB, free: 1.398 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000468/0.1133, allocations: 407.2 kB / 486.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1134, allocations: 8.875 kB / 486.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.1134, allocations: 34.75 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.1135, allocations: 16.69 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1137, allocations: 208 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1137, allocations: 384 / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1137, allocations: 8.375 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1139, allocations: 73.59 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1139, allocations: 0 / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1139, allocations: 4 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1139, allocations: 0 / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.1141, allocations: 63.89 kB / 486.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1146, allocations: 324.6 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1148, allocations: 70.56 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.1149, allocations: 36.97 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.115, allocations: 0 / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.115, allocations: 34.56 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.115, allocations: 4 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001594/0.1166, allocations: 0.4891 MB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1167, allocations: 59.34 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1169, allocations: 186.2 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1169, allocations: 25.7 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.117, allocations: 108 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.117, allocations: 43.44 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.117, allocations: 9.719 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1172, allocations: 326.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1173, allocations: 63.95 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1175, allocations: 67.95 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1178, allocations: 140.8 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1178, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003675/0.1182, allocations: 185.5 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1182, allocations: 4 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1182, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1182, allocations: 3.938 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1183, allocations: 39.91 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1183, allocations: 0 / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.1184, allocations: 15.98 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1184, allocations: 8 kB / 488.8 MB, free: 14.15 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 (11): * Single equations (assignments): 11 * 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 9.656e-05/0.1185, allocations: 121.8 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.1186, allocations: 27.73 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.119, allocations: 198.2 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.119, allocations: 11.94 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1191, allocations: 4.5 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1191, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.1198, allocations: 0.5078 MB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1198, allocations: 0 / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1199, allocations: 35.92 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1199, allocations: 7.984 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1199, allocations: 8.062 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1199, allocations: 0 / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1199, allocations: 4 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.1203, allocations: 288.9 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.1204, allocations: 85.02 kB / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.1204, allocations: 15.92 kB / 490.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1205, allocations: 12 kB / 490.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1206, allocations: 11.98 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1206, allocations: 4 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1207, allocations: 143.2 kB / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000261/0.121, allocations: 24 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001516/0.1225, allocations: 1.169 MB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.1229, allocations: 147.8 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1229, allocations: 0 / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.123, allocations: 84.02 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1234, allocations: 24.39 kB / 491.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1256, allocations: 1.962 MB / 493.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1259, allocations: 0.716 MB / 494.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.294e-05/0.126, allocations: 36.47 kB / 494.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.1261, allocations: 39.42 kB / 494.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1261, allocations: 0 / 494.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.1597, allocations: 2.99 MB / 497.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.16, allocations: 238.7 kB / 497.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.05, allocations: 0 / 497.7 MB, free: 5.254 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches