Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001761/0.001761, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.403/1.403, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2177/0.2177, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 63 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003085/0.1051, allocations: 1.556 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1066, allocations: 1.02 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.1066, allocations: 4 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1069, allocations: 15.86 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1071, allocations: 47.77 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1074, allocations: 83.7 kB / 472.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1075, allocations: 63.84 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.1076, allocations: 11.98 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.1077, allocations: 15.94 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1078, allocations: 35.83 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1078, allocations: 4 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.108, allocations: 43.98 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.108, allocations: 11.92 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1081, allocations: 27.8 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1083, allocations: 87.78 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1083, allocations: 0 / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1083, allocations: 0 / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1083, allocations: 0 / 472.9 MB, free: 11.33 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.0004531/0.1087, allocations: 371.6 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1088, allocations: 12.03 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1088, allocations: 4.844 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.109, allocations: 192.1 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.109, allocations: 8.375 kB / 473.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1091, allocations: 4.375 kB / 473.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1092, allocations: 67.45 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1093, allocations: 0 / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1093, allocations: 4 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1093, allocations: 3.938 kB / 473.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.1094, allocations: 19.98 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.1097, allocations: 272.9 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1099, allocations: 50.48 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.11, allocations: 12.95 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.11, allocations: 3.984 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1101, allocations: 30.56 kB / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.1101, allocations: 4 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005543/0.1106, allocations: 145.3 kB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1107, allocations: 77.11 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1108, allocations: 140.1 kB / 474.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1109, allocations: 29.7 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.1109, allocations: 84.14 kB / 474.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1109, allocations: 27.73 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.111, allocations: 17.72 kB / 474.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1111, allocations: 314.8 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.1112, allocations: 19.98 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.1113, allocations: 33.69 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1114, allocations: 57 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1114, allocations: 0 / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1116, allocations: 81.56 kB / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1116, allocations: 4 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1116, allocations: 0 / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1117, allocations: 0 / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.1117, allocations: 12 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1117, allocations: 3.984 kB / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.1118, allocations: 7.984 kB / 475 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1118, allocations: 8 kB / 475 MB, free: 9.012 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 7.628e-05/0.1119, allocations: 117.7 kB / 475.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1119, allocations: 11.91 kB / 475.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.1122, allocations: 81.62 kB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1122, allocations: 0 / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1122, allocations: 4 kB / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1122, allocations: 0 / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.1126, allocations: 354.4 kB / 475.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1126, allocations: 3.938 kB / 475.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.1127, allocations: 19.92 kB / 475.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1127, allocations: 0 / 475.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1127, allocations: 0 / 475.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1127, allocations: 4.125 kB / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1127, allocations: 0 / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1129, allocations: 179.4 kB / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.113, allocations: 85.09 kB / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.113, allocations: 0 / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.1131, allocations: 11.88 kB / 475.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1132, allocations: 7.984 kB / 475.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1132, allocations: 4 kB / 475.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.674e-05/0.1132, allocations: 103.3 kB / 476 MB, free: 7.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1133, allocations: 0 / 476 MB, free: 7.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1135, allocations: 19.91 kB / 476 MB, free: 7.918 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.001003/0.1145, allocations: 443 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1147, allocations: 51.95 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1148, allocations: 0 / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.1149, allocations: 27.92 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1152, allocations: 12 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1156, allocations: 183.2 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1158, allocations: 0.6885 MB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1159, allocations: 15.42 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1159, allocations: 0 / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.003423/0.1193, allocations: 1.565 MB / 479 MB, free: 5.059 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches