Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001881/0.001881, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.459/1.459, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2207/0.2207, allocations: 43.53 MB / 314.6 MB, free: 0.5195 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.001686/0.001686, allocations: 67.22 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.103, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002575/0.1056, allocations: 1.579 MB / 442.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1067, allocations: 0.93 MB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.1067, allocations: 0 / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.107, allocations: 27.78 kB / 443.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1072, allocations: 39.84 kB / 443.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1074, allocations: 79.77 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1075, allocations: 59.91 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1076, allocations: 24.11 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.1077, allocations: 27.86 kB / 443.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1078, allocations: 31.78 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1078, allocations: 4 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1079, allocations: 47.97 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.108, allocations: 19.98 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.108, allocations: 23.81 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1082, allocations: 95.75 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1082, allocations: 0 / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1082, allocations: 0 / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1082, allocations: 0 / 444.2 MB, free: 3.906 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003939/0.1086, allocations: 391.1 kB / 444.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1087, allocations: 11.89 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1087, allocations: 8.844 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1089, allocations: 203.9 kB / 444.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1089, allocations: 4.375 kB / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1089, allocations: 4.375 kB / 444.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1091, allocations: 71.33 kB / 444.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1091, allocations: 0 / 444.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1091, allocations: 4 kB / 444.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1091, allocations: 0 / 444.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.1092, allocations: 35.91 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1095, allocations: 296.7 kB / 445.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.1096, allocations: 50.56 kB / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.1097, allocations: 20.97 kB / 445.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1097, allocations: 4 kB / 445.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.1097, allocations: 42.44 kB / 445.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1097, allocations: 0 / 445.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005653/0.1103, allocations: 177.3 kB / 445.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1104, allocations: 77.11 kB / 445.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1105, allocations: 141 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1105, allocations: 29.7 kB / 445.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.1105, allocations: 96.08 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1106, allocations: 27.61 kB / 445.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1106, allocations: 21.72 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.1106, allocations: 318.8 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.1107, allocations: 23.98 kB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/0.1108, allocations: 37.7 kB / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.111, allocations: 64.86 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.111, allocations: 3.938 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001759/0.1111, allocations: 101.9 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1112, allocations: 4 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1112, allocations: 0 / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1112, allocations: 0 / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1113, allocations: 23.98 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1113, allocations: 0 / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.1114, allocations: 15.94 kB / 446.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1114, allocations: 320 / 446.4 MB, free: 1.406 MB / 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 (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 5.625e-05/0.1114, allocations: 125.8 kB / 446.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.1115, allocations: 7.906 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.1117, allocations: 117.9 kB / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1117, allocations: 7.984 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1117, allocations: 4 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1117, allocations: 3.938 kB / 446.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.1121, allocations: 378.5 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1121, allocations: 0 / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1122, allocations: 19.98 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1122, allocations: 7.938 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1122, allocations: 0 / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1122, allocations: 4 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1122, allocations: 0 / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.1124, allocations: 191.4 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.1125, allocations: 81.02 kB / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1125, allocations: 7.938 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1126, allocations: 7.984 kB / 447.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1126, allocations: 15.92 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1126, allocations: 4 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.1127, allocations: 103.3 kB / 447.5 MB, free: 236 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1127, allocations: 3.938 kB / 447.5 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1129, allocations: 20 kB / 447.5 MB, free: 212 kB / 318.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.0009838/0.1139, allocations: 448.1 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1142, allocations: 67.89 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1142, allocations: 0 / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.1143, allocations: 35.98 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1147, allocations: 16.3 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1151, allocations: 219.7 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1153, allocations: 0.6885 MB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1154, allocations: 19.42 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 1.954e-06/0.1154, allocations: 0 / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Templates: time 0.003265/0.1187, allocations: 1.717 MB / 450.7 MB, free: 13.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches