Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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: translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 107.8 kB / 16.64 MB, free: 6.816 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.002113/0.002113, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.484/1.484, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2081/0.2081, allocations: 43.51 MB / 314.3 MB, free: 0.7148 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.001639/0.001639, allocations: 62.81 kB / 382.9 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1043, allocations: 57.79 MB / 440.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002835/0.1072, allocations: 1.622 MB / 442.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005262/0.1078, allocations: 312.1 kB / 442.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.1078, allocations: 0 / 442.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.1083, allocations: 451.2 kB / 443 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1086, allocations: 239.6 kB / 443.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1089, allocations: 99.38 kB / 443.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1092, allocations: 151.7 kB / 443.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1093, allocations: 11.98 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1094, allocations: 107.8 kB / 443.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1096, allocations: 215.6 kB / 443.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1096, allocations: 4 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.1097, allocations: 19.98 kB / 443.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.1098, allocations: 91.62 kB / 443.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.1099, allocations: 95.06 kB / 444 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1101, allocations: 183.9 kB / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1101, allocations: 0 / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1101, allocations: 4 kB / 444.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1101, allocations: 4 kB / 444.2 MB, free: 3.801 MB / 318.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.0005551/0.1107, allocations: 0.6219 MB / 444.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1107, allocations: 11.89 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.1108, allocations: 36.47 kB / 444.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.111, allocations: 300.1 kB / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.111, allocations: 384 / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1111, allocations: 384 / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1112, allocations: 61.75 kB / 445.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1112, allocations: 0 / 445.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1112, allocations: 0 / 445.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1112, allocations: 0 / 445.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.1113, allocations: 19.98 kB / 445.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1117, allocations: 364.8 kB / 445.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.1118, allocations: 38.5 kB / 445.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.1118, allocations: 12.92 kB / 445.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1119, allocations: 3.984 kB / 445.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.1119, allocations: 30.56 kB / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1119, allocations: 0 / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002448/0.1121, allocations: 97.12 kB / 445.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1122, allocations: 59.47 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.1128, allocations: 0.8574 MB / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.1128, allocations: 29.64 kB / 446.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1129, allocations: 216.1 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.1129, allocations: 11.84 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.113, allocations: 13.72 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.1131, allocations: 362.7 kB / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.1131, allocations: 8 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.1131, allocations: 15.98 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.1132, allocations: 24.84 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1132, allocations: 4 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.1133, allocations: 89.12 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1134, allocations: 4 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1134, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1134, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.1135, allocations: 12.03 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1135, allocations: 0 / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.1135, allocations: 11.92 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1135, allocations: 0 / 447.5 MB, free: 300 kB / 318.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 (2): * Single equations (assignments): 2 * 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.0001203/0.1137, allocations: 213.7 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.1137, allocations: 39.53 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.1139, allocations: 100.6 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1139, allocations: 4.031 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1139, allocations: 0 / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1139, allocations: 3.984 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.1143, allocations: 281.5 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1143, allocations: 0 / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.1143, allocations: 11.98 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1143, allocations: 0 / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1144, allocations: 3.938 kB / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1144, allocations: 0 / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1144, allocations: 0 / 448.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1146, allocations: 186.9 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.1147, allocations: 104.6 kB / 448.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1147, allocations: 7.984 kB / 448.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1148, allocations: 4 kB / 448.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.1148, allocations: 0 / 448.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1148, allocations: 4 kB / 448.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000617/0.1154, allocations: 0.6433 MB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1154, allocations: 4.031 kB / 449.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1157, allocations: 19.94 kB / 449.1 MB, free: 14.58 MB / 334.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 (2): * Single equations (assignments): 2 * 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.0008285/0.1165, allocations: 349.2 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1167, allocations: 27.92 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1167, allocations: 4 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.1167, allocations: 7.984 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1172, allocations: 29.89 kB / 449.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1184, allocations: 0.8627 MB / 450.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.1188, allocations: 0.8182 MB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1189, allocations: 11.42 kB / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1189, allocations: 0 / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of Templates: time 0.007/0.1259, allocations: 3.417 MB / 454.6 MB, free: 9.074 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches