Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 74.25 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1029, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003306/0.1063, allocations: 1.678 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1074, allocations: 0.5766 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.1075, allocations: 4 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1078, allocations: 63.8 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.1081, allocations: 95.58 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.1086, allocations: 179.1 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1088, allocations: 95.73 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1089, allocations: 24.22 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.109, allocations: 39.83 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1091, allocations: 55.77 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1092, allocations: 4 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1093, allocations: 51.97 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.1094, allocations: 19.92 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1094, allocations: 39.69 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1096, allocations: 115.9 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1096, allocations: 4 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1097, allocations: 0 / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1097, allocations: 4 kB / 483.2 MB, free: 2.137 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.0005004/0.1102, allocations: 426.9 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1102, allocations: 12.03 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.1103, allocations: 30.75 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.1103, allocations: 8.844 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1105, allocations: 220.6 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.1105, allocations: 4.312 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1106, allocations: 8.375 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1107, allocations: 69.59 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1108, allocations: 4 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1108, allocations: 0 / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1108, allocations: 0 / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1109, allocations: 47.89 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1114, allocations: 320.8 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1116, allocations: 62.58 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.1117, allocations: 28.97 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1117, allocations: 3.984 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1118, allocations: 34.56 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1118, allocations: 0 / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00149/0.1133, allocations: 429.2 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1133, allocations: 55.41 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1135, allocations: 215.5 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1136, allocations: 25.7 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1136, allocations: 108.1 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1137, allocations: 35.47 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.1137, allocations: 29.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1139, allocations: 322.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.114, allocations: 55.95 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1142, allocations: 63.95 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1145, allocations: 120.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1145, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003318/0.1148, allocations: 161.5 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1149, allocations: 8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1149, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1149, allocations: 7.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.115, allocations: 35.91 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.115, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.1151, allocations: 11.89 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1151, allocations: 4 kB / 486.1 MB, free: 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.504e-05/0.1152, allocations: 133.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.1153, allocations: 11.91 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.1157, allocations: 194.9 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1157, allocations: 3.938 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1157, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1157, allocations: 3.984 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006786/0.1164, allocations: 0.5038 MB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1164, allocations: 3.938 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1165, allocations: 27.97 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1165, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1166, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1166, allocations: 4.062 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1166, allocations: 4 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.117, allocations: 277.5 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.117, allocations: 96.91 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1171, allocations: 3.984 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1172, allocations: 15.98 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1172, allocations: 4 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1172, allocations: 4 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1173, allocations: 155.2 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1174, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1176, allocations: 28 kB / 487.5 MB, free: 13.42 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.1192, allocations: 1.155 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1195, allocations: 131.8 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1195, allocations: 4 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1197, allocations: 71.89 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.12, allocations: 23.55 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.1224, allocations: 1.925 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1228, allocations: 0.7276 MB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.626e-05/0.1229, allocations: 36.45 kB / 491.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.123, allocations: 39.42 kB / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.123, allocations: 0 / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.1431, allocations: 3.455 MB / 495.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.646, allocations: 9 kB / 495.1 MB, free: 5.934 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches