Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 107.3 kB / 17.03 MB, free: 6.102 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.001228/0.001228, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.417/1.417, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.1977/0.1977, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001466/0.001466, allocations: 74.52 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002781/0.1137, allocations: 1.57 MB / 443.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005749/0.1143, allocations: 315.5 kB / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.1143, allocations: 4 kB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1147, allocations: 99.73 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1149, allocations: 67.73 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1151, allocations: 67.84 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1152, allocations: 79.8 kB / 444.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1154, allocations: 24.12 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.1154, allocations: 43.78 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.1155, allocations: 55.81 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1155, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/0.1156, allocations: 27.98 kB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1157, allocations: 27.91 kB / 444.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.1157, allocations: 31.75 kB / 444.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1159, allocations: 111.6 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1159, allocations: 4 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1159, allocations: 0 / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1159, allocations: 0 / 444.5 MB, free: 3.617 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.000407/0.1163, allocations: 407 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1163, allocations: 11.89 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.1164, allocations: 12.75 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1165, allocations: 196.1 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1166, allocations: 8.375 kB / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1166, allocations: 8.312 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1167, allocations: 61.61 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1167, allocations: 3.984 kB / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1168, allocations: 0 / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1168, allocations: 4 kB / 445.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.1169, allocations: 35.95 kB / 445.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.1172, allocations: 304.7 kB / 445.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.1173, allocations: 54.5 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.1173, allocations: 20.97 kB / 445.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1173, allocations: 0 / 445.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.1174, allocations: 34.56 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1174, allocations: 0 / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005258/0.1179, allocations: 185 kB / 445.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.1179, allocations: 55.47 kB / 445.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1181, allocations: 231.5 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1181, allocations: 25.7 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1181, allocations: 108.1 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1182, allocations: 35.48 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.1182, allocations: 21.72 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.1183, allocations: 326.8 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.1183, allocations: 23.98 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.1184, allocations: 31.91 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1185, allocations: 52.84 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1185, allocations: 7.984 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001599/0.1187, allocations: 89.58 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1187, allocations: 4 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1187, allocations: 8 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1187, allocations: 3.938 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1188, allocations: 20.36 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1188, allocations: 3.938 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.1189, allocations: 11.92 kB / 446.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1189, allocations: 8 kB / 446.8 MB, free: 1.027 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 7.921e-05/0.119, allocations: 129.8 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.119, allocations: 15.8 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1193, allocations: 123.3 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1193, allocations: 3.984 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1193, allocations: 0 / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1193, allocations: 3.938 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.1197, allocations: 390.5 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1197, allocations: 0 / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.1198, allocations: 19.98 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1198, allocations: 7.938 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1198, allocations: 0 / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1198, allocations: 0 / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1198, allocations: 0 / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.12, allocations: 203.3 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1201, allocations: 85.02 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1201, allocations: 11.92 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1202, allocations: 4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.1202, allocations: 11.92 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1202, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1204, allocations: 171.2 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1206, allocations: 16 kB / 448 MB, free: 15.75 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 (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.0008917/0.1215, allocations: 414.1 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.1217, allocations: 71.88 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1218, allocations: 0 / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.1218, allocations: 27.98 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1222, allocations: 19.98 kB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.1226, allocations: 262 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1229, allocations: 0.7132 MB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.123, allocations: 12.97 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.123, allocations: 19.42 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.123, allocations: 0 / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Templates: time 0.003874/0.1269, allocations: 1.214 MB / 450.7 MB, free: 13.05 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches