Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 105.3 kB / 17.03 MB, free: 6.129 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.001991/0.001991, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.448/1.448, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2162/0.2162, allocations: 43.53 MB / 314.7 MB, free: 464 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.00144/0.00144, allocations: 71.02 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003896/0.1077, allocations: 1.543 MB / 443.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.1085, allocations: 311.6 kB / 443.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.1085, allocations: 3.938 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1088, allocations: 23.84 kB / 443.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1091, allocations: 39.73 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1094, allocations: 74.83 kB / 443.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1095, allocations: 51.84 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1097, allocations: 19.92 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.1097, allocations: 15.94 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.1098, allocations: 23.84 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1099, allocations: 4 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.11, allocations: 31.98 kB / 444.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.11, allocations: 7.938 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1101, allocations: 23.86 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1103, allocations: 79.78 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.1103, allocations: 3.938 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1103, allocations: 0 / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1103, allocations: 0 / 444.2 MB, free: 3.875 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.0004662/0.1108, allocations: 379.2 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1108, allocations: 11.89 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.1109, allocations: 8.844 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1111, allocations: 184.3 kB / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1111, allocations: 4.375 kB / 444.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1111, allocations: 8.375 kB / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1113, allocations: 45.81 kB / 444.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1113, allocations: 0 / 444.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1113, allocations: 0 / 444.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1113, allocations: 0 / 444.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1115, allocations: 31.91 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1118, allocations: 272.8 kB / 445.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1121, allocations: 42.55 kB / 445.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.1121, allocations: 24.78 kB / 445.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1122, allocations: 0 / 445.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.1122, allocations: 30.56 kB / 445.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1122, allocations: 0 / 445.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006664/0.1129, allocations: 141.4 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1129, allocations: 51.41 kB / 445.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1131, allocations: 142.1 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.1131, allocations: 25.7 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.1131, allocations: 92.14 kB / 445.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1132, allocations: 31.62 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.1132, allocations: 17.72 kB / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.1133, allocations: 318.8 kB / 446 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.1134, allocations: 19.98 kB / 446 MB, free: 1.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.1135, allocations: 23.92 kB / 446.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1137, allocations: 40.83 kB / 446.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1137, allocations: 0 / 446.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002285/0.1139, allocations: 85.61 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.114, allocations: 4 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.114, allocations: 3.984 kB / 446.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.114, allocations: 3.938 kB / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.1141, allocations: 12.25 kB / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1141, allocations: 0 / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.1142, allocations: 15.89 kB / 446.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1142, allocations: 0 / 446.2 MB, free: 1.617 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 (5): * Single equations (assignments): 5 * 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.254e-05/0.1143, allocations: 125.7 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1143, allocations: 4 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1146, allocations: 89.91 kB / 446.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1146, allocations: 0 / 446.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1146, allocations: 0 / 446.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1147, allocations: 0 / 446.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.1151, allocations: 350.4 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1152, allocations: 4 kB / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.1152, allocations: 8 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1153, allocations: 3.938 kB / 446.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1153, allocations: 4 kB / 446.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1153, allocations: 3.938 kB / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1153, allocations: 0 / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1156, allocations: 179.4 kB / 447 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.1156, allocations: 77.11 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1157, allocations: 0 / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1158, allocations: 11.92 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1159, allocations: 8 kB / 447.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1159, allocations: 192 / 447.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.116, allocations: 114.3 kB / 447.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.116, allocations: 0 / 447.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004379/0.1164, allocations: 12 kB / 447.2 MB, free: 0.543 MB / 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 (5): * Single equations (assignments): 5 * 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.001452/0.1179, allocations: 410.2 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1182, allocations: 47.91 kB / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1182, allocations: 0 / 447.7 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1184, allocations: 23.98 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.1189, allocations: 19.27 kB / 447.7 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1195, allocations: 165.4 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.1199, allocations: 0.6924 MB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.12, allocations: 8.25 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.1201, allocations: 15.42 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1201, allocations: 0 / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Templates: time 0.00597/0.1261, allocations: 1.094 MB / 449.7 MB, free: 14.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches