Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001179/0.001179, allocations: 117.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 77.59 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 62.44 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002904/0.1082, allocations: 1.673 MB / 481.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.109, allocations: 0.5338 MB / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.1091, allocations: 0 / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1094, allocations: 71.84 kB / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1097, allocations: 91.77 kB / 482 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1099, allocations: 86.91 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1101, allocations: 75.88 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.1102, allocations: 19.98 kB / 482.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.1103, allocations: 35.8 kB / 482.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1104, allocations: 63.81 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1104, allocations: 4 kB / 482.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.1105, allocations: 35.98 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.1105, allocations: 31.91 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.1106, allocations: 27.75 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1108, allocations: 112 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1108, allocations: 0 / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1108, allocations: 3.938 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1108, allocations: 0 / 482.4 MB, free: 2.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004225/0.1112, allocations: 413.5 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1113, allocations: 8.031 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.1113, allocations: 38.75 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.1113, allocations: 8.844 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1115, allocations: 206.7 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.1115, allocations: 4.375 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1116, allocations: 4.375 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1117, allocations: 65.53 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1117, allocations: 3.906 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1117, allocations: 0 / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1117, allocations: 0 / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.1118, allocations: 27.92 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1122, allocations: 300.8 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1123, allocations: 42.55 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.1123, allocations: 16.86 kB / 483.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1124, allocations: 3.938 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1124, allocations: 34.56 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1124, allocations: 0 / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008629/0.1133, allocations: 225.6 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1133, allocations: 59.34 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1135, allocations: 214.8 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1135, allocations: 29.7 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.1136, allocations: 104.1 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1136, allocations: 23.62 kB / 484.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1137, allocations: 25.7 kB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.1138, allocations: 326.8 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.1138, allocations: 19.98 kB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.1139, allocations: 27.98 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1141, allocations: 64.77 kB / 484.7 MB, free: 200 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1141, allocations: 0 / 484.7 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002002/0.1143, allocations: 101.5 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1143, allocations: 4 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1143, allocations: 4 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1143, allocations: 0 / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.1144, allocations: 19.98 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1145, allocations: 3.938 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.1145, allocations: 4 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1145, allocations: 11.98 kB / 484.8 MB, free: 44 kB / 350.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 (8): * Single equations (assignments): 8 * 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.0001078/0.1146, allocations: 125.8 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1147, allocations: 15.81 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.115, allocations: 123.3 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.115, allocations: 4 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.115, allocations: 3.938 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.115, allocations: 0 / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.1155, allocations: 399.3 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1155, allocations: 4 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.1156, allocations: 19.92 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.1156, allocations: 8.031 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1156, allocations: 11.94 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1156, allocations: 3.938 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1156, allocations: 3.984 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1159, allocations: 196.2 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.1159, allocations: 96.94 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1159, allocations: 0 / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.116, allocations: 7.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.1161, allocations: 11.98 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1161, allocations: 4 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1162, allocations: 160.7 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1162, allocations: 0 / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1165, allocations: 24 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001449/0.1179, allocations: 1.092 MB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1182, allocations: 71.88 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1182, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.1183, allocations: 35.92 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1187, allocations: 15.98 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1208, allocations: 1.689 MB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1212, allocations: 0.7041 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.1212, allocations: 8.672 kB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.1213, allocations: 35.42 kB / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1213, allocations: 0 / 489.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/1.597, allocations: 2.923 MB / 492.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/1.598, allocations: 240 kB / 492.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/4.197, allocations: 0 / 492.8 MB, free: 8.016 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches