Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.03 kB / 18.01 MB, free: 5.73 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.00149/0.00149, allocations: 178.8 kB / 18.91 MB, free: 4.871 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.421/1.421, allocations: 223.3 MB / 243 MB, free: 14.47 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.2202/0.2202, allocations: 44.25 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 12 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002075/0.1089, allocations: 1.27 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.1098, allocations: 407.4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.1099, allocations: 0 / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.1101, allocations: 19.92 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1103, allocations: 27.91 kB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1106, allocations: 102.2 kB / 474.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1108, allocations: 55.78 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.1109, allocations: 8 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.1109, allocations: 23.91 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.111, allocations: 19.86 kB / 474.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.111, allocations: 0 / 474.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-05/0.1111, allocations: 24 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1112, allocations: 23.92 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.1112, allocations: 49.5 kB / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1114, allocations: 59.84 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1114, allocations: 0 / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1114, allocations: 0 / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1114, allocations: 0 / 475 MB, free: 11.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000458/0.1119, allocations: 375.5 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1119, allocations: 8.031 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.112, allocations: 12.83 kB / 475.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1122, allocations: 190.8 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1122, allocations: 4.375 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1123, allocations: 384 / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1124, allocations: 61.73 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1125, allocations: 0 / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1125, allocations: 4 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1125, allocations: 0 / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1126, allocations: 27.98 kB / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.113, allocations: 288.8 kB / 475.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1132, allocations: 50.5 kB / 476 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.1133, allocations: 20.94 kB / 476 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1133, allocations: 0 / 476 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1134, allocations: 38.5 kB / 476.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1134, allocations: 0 / 476.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005895/0.114, allocations: 169.3 kB / 476.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.114, allocations: 55.34 kB / 476.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1142, allocations: 169.8 kB / 476.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1142, allocations: 25.7 kB / 476.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1143, allocations: 100 kB / 476.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1143, allocations: 19.75 kB / 476.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1143, allocations: 17.7 kB / 476.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1145, allocations: 318.8 kB / 476.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.1146, allocations: 23.98 kB / 476.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.1146, allocations: 27.97 kB / 477 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1148, allocations: 64.83 kB / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1148, allocations: 0 / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.115, allocations: 93.52 kB / 477.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.115, allocations: 8 kB / 477.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.115, allocations: 3.984 kB / 477.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.115, allocations: 0 / 477.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.1151, allocations: 12 kB / 477.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1151, allocations: 0 / 477.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.1152, allocations: 11.98 kB / 477.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1152, allocations: 0 / 477.1 MB, free: 8.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 (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 8.647e-05/0.1153, allocations: 126.3 kB / 477.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.1153, allocations: 7.906 kB / 477.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1156, allocations: 105.9 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1156, allocations: 4 kB / 477.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1156, allocations: 0 / 477.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1156, allocations: 0 / 477.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.116, allocations: 362.5 kB / 477.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1161, allocations: 384 / 477.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.1161, allocations: 19.92 kB / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1161, allocations: 0 / 477.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1162, allocations: 4 kB / 477.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1162, allocations: 7.938 kB / 477.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1162, allocations: 4 kB / 477.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1165, allocations: 191.4 kB / 478 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.1165, allocations: 85.3 kB / 478 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1165, allocations: 4 kB / 478 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.1166, allocations: 15.92 kB / 478.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1167, allocations: 7.984 kB / 478.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1167, allocations: 0 / 478.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1168, allocations: 130 kB / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1168, allocations: 0 / 478.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.117, allocations: 16 kB / 478.2 MB, free: 7.656 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 (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.0009051/0.1179, allocations: 398.4 kB / 478.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1182, allocations: 59.95 kB / 478.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1182, allocations: 0 / 478.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.1183, allocations: 31.98 kB / 478.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1186, allocations: 22.08 kB / 478.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.119, allocations: 247.1 kB / 479 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1193, allocations: 0.7005 MB / 479.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1194, allocations: 15.42 kB / 479.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1194, allocations: 0 / 479.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Templates: time 0.003302/0.1227, allocations: 1.43 MB / 481.1 MB, free: 4.855 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches