Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006696/0.006696, allocations: 100.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 190.2 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 222.6 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2719/0.2719, allocations: 43.5 MB / 313.5 MB, free: 8.531 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 74.53 kB / 382.1 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.1008, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.00237/0.1032, allocations: 1.626 MB / 441.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.1037, allocations: 319.6 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.1038, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.104, allocations: 103.8 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1042, allocations: 71.84 kB / 442 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1044, allocations: 79.84 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.1045, allocations: 75.81 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.1046, allocations: 16.25 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.1047, allocations: 43.83 kB / 442.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1048, allocations: 55.83 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1048, allocations: 7.984 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.1049, allocations: 27.98 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1049, allocations: 23.92 kB / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.105, allocations: 27.75 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1051, allocations: 95.64 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1051, allocations: 0 / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1051, allocations: 0 / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1051, allocations: 3.938 kB / 442.5 MB, free: 12.16 MB / 382.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.0004389/0.1056, allocations: 426.8 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1056, allocations: 8.031 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.1057, allocations: 34.73 kB / 442.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1057, allocations: 12.84 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.1059, allocations: 204 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1059, allocations: 384 / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1059, allocations: 4.359 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.106, allocations: 53.62 kB / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.106, allocations: 0 / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.106, allocations: 4 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1061, allocations: 3.938 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.1062, allocations: 23.98 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.1065, allocations: 288.9 kB / 443.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1067, allocations: 46.55 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1068, allocations: 20.8 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1068, allocations: 4 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1068, allocations: 34.64 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1068, allocations: 0 / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005588/0.1074, allocations: 153.3 kB / 443.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1075, allocations: 59.41 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1077, allocations: 234.7 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1077, allocations: 25.7 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1078, allocations: 112.1 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1078, allocations: 19.8 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.1079, allocations: 13.72 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.108, allocations: 330.8 kB / 444.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.1081, allocations: 23.98 kB / 444.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.1081, allocations: 24.05 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1083, allocations: 48.81 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1083, allocations: 0 / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001904/0.1085, allocations: 97.45 kB / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1085, allocations: 4 kB / 444.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1085, allocations: 7.984 kB / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1085, allocations: 4 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.1086, allocations: 11.98 kB / 444.8 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1086, allocations: 0 / 444.8 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.1087, allocations: 8 kB / 444.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1087, allocations: 3.938 kB / 444.8 MB, free: 9.629 MB / 382.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 9.765e-05/0.1088, allocations: 129.8 kB / 444.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1088, allocations: 7.906 kB / 444.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1091, allocations: 106.6 kB / 445 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1091, allocations: 7.938 kB / 445 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1091, allocations: 0 / 445 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1091, allocations: 0 / 445 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.1095, allocations: 366.7 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1095, allocations: 4.062 kB / 445.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.1096, allocations: 11.94 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1096, allocations: 4 kB / 445.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1096, allocations: 11.98 kB / 445.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1096, allocations: 3.938 kB / 445.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1096, allocations: 0 / 445.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1099, allocations: 179.3 kB / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.1099, allocations: 89 kB / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.11, allocations: 0 / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.11, allocations: 11.94 kB / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1101, allocations: 7.984 kB / 445.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1101, allocations: 4 kB / 445.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1103, allocations: 180.3 kB / 445.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1103, allocations: 0 / 445.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1105, allocations: 19.98 kB / 445.9 MB, free: 8.391 MB / 382.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.001401/0.1119, allocations: 1.028 MB / 446.9 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1121, allocations: 51.95 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1121, allocations: 0 / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.1122, allocations: 27.92 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1126, allocations: 27.92 kB / 447 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1146, allocations: 1.674 MB / 448.7 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1149, allocations: 0.7113 MB / 449.4 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.115, allocations: 16.05 kB / 449.4 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.1151, allocations: 35.42 kB / 449.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1151, allocations: 0 / 449.5 MB, free: 4.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.153/1.268, allocations: 2.674 MB / 452.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/1.268, allocations: 235.8 kB / 452.4 MB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.057, allocations: 0 / 452.4 MB, free: 1.785 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time