Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.0006778/0.0006778, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.0007243/0.0007242, allocations: 176.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1732/0.1732, allocations: 44.25 MB / 337.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002829, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09648, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002062/0.09859, allocations: 1.297 MB / 473.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1, allocations: 0.9921 MB / 474.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.1001, allocations: 0 / 474.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1003, allocations: 19.92 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1005, allocations: 31.91 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1008, allocations: 75.84 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1009, allocations: 63.83 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.101, allocations: 20.17 kB / 474.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1011, allocations: 19.88 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1012, allocations: 27.84 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1013, allocations: 4 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1014, allocations: 47.91 kB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.1014, allocations: 11.98 kB / 475 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.1015, allocations: 53.5 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1017, allocations: 95.97 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1017, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1017, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1017, allocations: 4 kB / 475.1 MB, free: 10.49 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004546/0.1021, allocations: 379.3 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1022, allocations: 8.031 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.1022, allocations: 38.75 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1023, allocations: 8.844 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1025, allocations: 188.2 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1025, allocations: 4.312 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1025, allocations: 8.125 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1027, allocations: 75.39 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1027, allocations: 4 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1027, allocations: 0 / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1027, allocations: 4 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1028, allocations: 39.95 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1032, allocations: 300.7 kB / 476.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1033, allocations: 46.56 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1034, allocations: 24.97 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1034, allocations: 0 / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1035, allocations: 38.56 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.387e-06/0.1035, allocations: 0 / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000594/0.1041, allocations: 189.3 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1041, allocations: 81.05 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1043, allocations: 153 kB / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1043, allocations: 29.7 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1043, allocations: 92.12 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1044, allocations: 27.72 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.1044, allocations: 13.72 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.1045, allocations: 322.8 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1046, allocations: 27.98 kB / 477.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.1047, allocations: 45.69 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1048, allocations: 69.09 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1048, allocations: 0 / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/0.105, allocations: 109.5 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1051, allocations: 4 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1051, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1051, allocations: 7.938 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.1052, allocations: 19.98 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1052, allocations: 7.938 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.1053, allocations: 7.984 kB / 477.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1053, allocations: 4 kB / 477.4 MB, free: 7.914 MB / 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 7.485e-05/0.1054, allocations: 117.8 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1054, allocations: 7.906 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.1056, allocations: 129.8 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1057, allocations: 4 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1057, allocations: 3.938 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1057, allocations: 0 / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.1061, allocations: 390.5 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1061, allocations: 0 / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.1062, allocations: 27.92 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1062, allocations: 7.875 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1062, allocations: 3.984 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1062, allocations: 0 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1062, allocations: 7.984 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1065, allocations: 195.7 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1065, allocations: 89.31 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1065, allocations: 8 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.1066, allocations: 12 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1067, allocations: 7.984 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1067, allocations: 0 / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.903e-05/0.1068, allocations: 115.2 kB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1068, allocations: 3.938 kB / 478.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.107, allocations: 24 kB / 478.6 MB, free: 6.676 MB / 350.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 (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.001259/0.1083, allocations: 1.076 MB / 479.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1085, allocations: 75.89 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1085, allocations: 0 / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.1086, allocations: 39.98 kB / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1089, allocations: 15.98 kB / 479.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1104, allocations: 1.502 MB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1106, allocations: 0.6926 MB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.354e-05/0.1107, allocations: 17.22 kB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.1107, allocations: 31.36 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1107, allocations: 4 kB / 482 MB, free: 3.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.1236, allocations: 2.496 MB / 484.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.1239, allocations: 239.9 kB / 484.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.731, allocations: 0 / 484.8 MB, free: 0.6367 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches