Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009692/0.0009693, allocations: 199.1 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008661/0.0008661, allocations: 100.8 kB / 295.1 MB, free: 4.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 12 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 62.96 MB / 0.5153 GB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001432/0.1032, allocations: 1.428 MB / 0.5167 GB, free: 3.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.1041, allocations: 0.9402 MB / 0.5176 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.1042, allocations: 3.938 kB / 0.5176 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1044, allocations: 39.89 kB / 0.5177 GB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1046, allocations: 79.67 kB / 0.5178 GB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1048, allocations: 95.58 kB / 0.5178 GB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.105, allocations: 95.62 kB / 0.5179 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.105, allocations: 11.97 kB / 0.518 GB, free: 2.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.1051, allocations: 47.78 kB / 0.518 GB, free: 2.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.1052, allocations: 23.86 kB / 0.518 GB, free: 2.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1052, allocations: 0 / 0.518 GB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.1053, allocations: 51.84 kB / 0.5181 GB, free: 2.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.1053, allocations: 15.92 kB / 0.5181 GB, free: 2.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1053, allocations: 41.64 kB / 0.5181 GB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1055, allocations: 96.08 kB / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1055, allocations: 0 / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1055, allocations: 0 / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1055, allocations: 0 / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003686/0.1059, allocations: 398.9 kB / 0.5186 GB, free: 1.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.1059, allocations: 8.031 kB / 0.5186 GB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1059, allocations: 11.91 kB / 0.5186 GB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1061, allocations: 212.6 kB / 0.5188 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1061, allocations: 4 kB / 0.5188 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1061, allocations: 3.938 kB / 0.5188 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1063, allocations: 57.61 kB / 0.5189 GB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1063, allocations: 3.906 kB / 0.5189 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1063, allocations: 7.984 kB / 0.5189 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1063, allocations: 0 / 0.5189 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1064, allocations: 15.98 kB / 0.5189 GB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1067, allocations: 292.9 kB / 0.5192 GB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1068, allocations: 58.62 kB / 0.5192 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.1069, allocations: 24.84 kB / 0.5193 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1069, allocations: 0 / 0.5193 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.107, allocations: 71.39 kB / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.107, allocations: 0 / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004217/0.1075, allocations: 173.1 kB / 0.5195 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.1075, allocations: 51.41 kB / 0.5195 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1076, allocations: 218.7 kB / 0.5198 GB, free: 376 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.1076, allocations: 33.7 kB / 0.5198 GB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.1077, allocations: 96.14 kB / 0.5199 GB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.1077, allocations: 27.7 kB / 0.5199 GB, free: 208 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1077, allocations: 0 / 0.5199 GB, free: 208 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.1078, allocations: 326.8 kB / 0.5202 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.1079, allocations: 23.98 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.1079, allocations: 41.58 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.108, allocations: 23.98 kB / 0.5203 GB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.108, allocations: 0 / 0.5203 GB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001735/0.1082, allocations: 101.6 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1082, allocations: 6.031 kB / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1082, allocations: 0 / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1082, allocations: 0 / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.1083, allocations: 19.94 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1083, allocations: 0 / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1084, allocations: 11.98 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1084, allocations: 3.953 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/0.1085, allocations: 133.8 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.1085, allocations: 11.81 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1086, allocations: 21.39 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1086, allocations: 0 / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1086, allocations: 3.938 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1086, allocations: 0 / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.109, allocations: 399.3 kB / 0.521 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.109, allocations: 0 / 0.521 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.109, allocations: 12.03 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1091, allocations: 7.938 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1091, allocations: 3.984 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1091, allocations: 0 / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1091, allocations: 3.953 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.1093, allocations: 204.2 kB / 0.5212 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.1094, allocations: 85.02 kB / 0.5213 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1094, allocations: 12.38 kB / 0.5213 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.1095, allocations: 0 / 0.5213 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1095, allocations: 11.94 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1095, allocations: 8 kB / 0.5213 GB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1096, allocations: 156.3 kB / 0.5215 GB, free: 14.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1096, allocations: 0 / 0.5215 GB, free: 14.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.1099, allocations: 31.98 kB / 0.5215 GB, free: 14.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008768/0.1107, allocations: 463.7 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1109, allocations: 59.95 kB / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1109, allocations: 0 / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.349e-05/0.111, allocations: 24.06 kB / 0.522 GB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1113, allocations: 33.39 kB / 0.5221 GB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.1117, allocations: 283.8 kB / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.112, allocations: 0.7083 MB / 0.523 GB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.112, allocations: 19.42 kB / 0.523 GB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.112, allocations: 0 / 0.523 GB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003131/0.1152, allocations: 1.955 MB / 0.5249 GB, free: 11.02 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches