Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 93.2 kB / 18 MB, free: 5.602 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.001061/0.001061, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.379/1.379, allocations: 223.3 MB / 243 MB, free: 14.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1868/0.1868, allocations: 44.25 MB / 338.3 MB, free: 2.398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 14.03 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.001914/0.105, allocations: 1.333 MB / 474.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1064, allocations: 0.9999 MB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.1065, allocations: 3.938 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1067, allocations: 11.98 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1068, allocations: 39.84 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.1072, allocations: 119.4 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1073, allocations: 59.78 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.1074, allocations: 16.19 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.1075, allocations: 23.91 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1076, allocations: 23.86 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1076, allocations: 4 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1078, allocations: 51.89 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.1078, allocations: 15.94 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.1079, allocations: 45.56 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.108, allocations: 59.89 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.108, allocations: 0 / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.108, allocations: 7.984 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1081, allocations: 0 / 475.7 MB, free: 10.48 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.0004652/0.1085, allocations: 391.5 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1086, allocations: 8.031 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1086, allocations: 8.938 kB / 476.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1088, allocations: 184.1 kB / 476.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1088, allocations: 4.375 kB / 476.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1089, allocations: 4.312 kB / 476.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1091, allocations: 83.33 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1091, allocations: 7.984 kB / 476.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1091, allocations: 0 / 476.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1091, allocations: 3.984 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1093, allocations: 43.97 kB / 476.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.1097, allocations: 284.8 kB / 476.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1098, allocations: 46.55 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.577e-05/0.1099, allocations: 32.94 kB / 476.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1099, allocations: 0 / 476.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1099, allocations: 38.56 kB / 476.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1099, allocations: 0 / 476.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007861/0.1107, allocations: 233.2 kB / 477.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1108, allocations: 81.09 kB / 477.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1109, allocations: 137.8 kB / 477.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.111, allocations: 25.7 kB / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.111, allocations: 96.12 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.111, allocations: 19.66 kB / 477.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.1111, allocations: 21.7 kB / 477.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1112, allocations: 318.8 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1113, allocations: 39.97 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1115, allocations: 61.62 kB / 477.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1117, allocations: 100.9 kB / 477.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1117, allocations: 0 / 477.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000295/0.112, allocations: 117.8 kB / 478.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.112, allocations: 8 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.112, allocations: 3.938 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1121, allocations: 3.984 kB / 478.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1122, allocations: 23.92 kB / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1122, allocations: 8.062 kB / 478.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.1123, allocations: 19.92 kB / 478.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1123, allocations: 4 kB / 478.1 MB, free: 7.828 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 (7): * Single equations (assignments): 7 * 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 8.639e-05/0.1124, allocations: 118.4 kB / 478.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1124, allocations: 7.906 kB / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.1127, allocations: 134 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1128, allocations: 4 kB / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1128, allocations: 0 / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1128, allocations: 7.875 kB / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1134, allocations: 398.5 kB / 478.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1134, allocations: 4 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1135, allocations: 23.98 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1135, allocations: 0 / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1135, allocations: 11.94 kB / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1135, allocations: 0 / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1135, allocations: 3.984 kB / 478.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1139, allocations: 227.3 kB / 479.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1139, allocations: 85.02 kB / 479.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1139, allocations: 3.938 kB / 479.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.114, allocations: 15.98 kB / 479.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1141, allocations: 15.98 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1141, allocations: 0 / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.1142, allocations: 109.4 kB / 479.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1142, allocations: 0 / 479.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1145, allocations: 23.98 kB / 479.3 MB, free: 6.555 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 (7): * Single equations (assignments): 7 * 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.0009783/0.1154, allocations: 445.9 kB / 479.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.1158, allocations: 103.8 kB / 479.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1158, allocations: 0 / 479.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1159, allocations: 43.98 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1162, allocations: 15.98 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.1167, allocations: 226.9 kB / 480.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1169, allocations: 0.6965 MB / 480.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.117, allocations: 15.42 kB / 480.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.117, allocations: 0 / 480.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of Templates: time 0.003452/0.1205, allocations: 1.698 MB / 482.5 MB, free: 3.441 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches