Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002194/0.002194, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 246.4 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 75.53 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002943/0.1083, allocations: 1.661 MB / 481.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1099, allocations: 1.132 MB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.11, allocations: 0 / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.1102, allocations: 19.92 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1104, allocations: 75.75 kB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1107, allocations: 83.09 kB / 482.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1108, allocations: 67.83 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.1109, allocations: 8 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.111, allocations: 35.84 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1111, allocations: 27.86 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1111, allocations: 4 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1113, allocations: 99.86 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.1114, allocations: 11.98 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1114, allocations: 27.8 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1116, allocations: 128 kB / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1116, allocations: 0 / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1116, allocations: 0 / 483 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1117, allocations: 0 / 483 MB, free: 2.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004215/0.1121, allocations: 419 kB / 483.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.1121, allocations: 8.031 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.1122, allocations: 30.75 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1122, allocations: 8.844 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1124, allocations: 194.7 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1124, allocations: 4.375 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1124, allocations: 384 / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1125, allocations: 75.33 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1126, allocations: 0 / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1126, allocations: 0 / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1126, allocations: 4 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.1127, allocations: 23.92 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.113, allocations: 272.9 kB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1131, allocations: 46.55 kB / 484 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.1132, allocations: 12.86 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1132, allocations: 7.938 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1132, allocations: 30.56 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1132, allocations: 0 / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004802/0.1137, allocations: 153.3 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1138, allocations: 81.05 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1139, allocations: 152.1 kB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1139, allocations: 25.7 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.114, allocations: 96.12 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.114, allocations: 15.72 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1141, allocations: 17.72 kB / 484.6 MB, free: 284 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1142, allocations: 326.8 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.1142, allocations: 19.98 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1143, allocations: 29.7 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1144, allocations: 44.83 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1144, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001739/0.1146, allocations: 85.64 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1146, allocations: 4 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1147, allocations: 7.969 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1147, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.1147, allocations: 12 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.1147, allocations: 0 / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.1148, allocations: 15.83 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1148, allocations: 0 / 485.1 MB, free: 15.72 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 (5): * Single equations (assignments): 5 * 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 7.666e-05/0.1149, allocations: 117.8 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1149, allocations: 4 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.1152, allocations: 101.7 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1152, allocations: 288 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1152, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1152, allocations: 7.922 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.1156, allocations: 354.9 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1156, allocations: 4.062 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.1157, allocations: 19.92 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1157, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1157, allocations: 3.938 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1157, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1157, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1159, allocations: 183.4 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1159, allocations: 77.11 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.116, allocations: 3.938 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.116, allocations: 4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.1161, allocations: 15.92 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1161, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.367e-05/0.1162, allocations: 111.3 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1162, allocations: 0 / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1165, allocations: 39.98 kB / 486.2 MB, free: 14.59 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 (5): * Single equations (assignments): 5 * 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.001332/0.1178, allocations: 1.091 MB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.118, allocations: 55.89 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.118, allocations: 0 / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.1181, allocations: 31.92 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1184, allocations: 19.97 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1198, allocations: 1.433 MB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.12, allocations: 0.6885 MB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.1201, allocations: 8 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.1201, allocations: 31.36 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1201, allocations: 0 / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.2262, allocations: 3.052 MB / 492.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.2265, allocations: 239.9 kB / 492.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.181, allocations: 0 / 492.8 MB, free: 8.047 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches