Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 104.4 kB / 17.98 MB, free: 5.359 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.001213/0.001213, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.335/1.335, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.2026/0.2026, allocations: 44.18 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 73.2 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09763, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003031/0.1007, allocations: 1.764 MB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.102, allocations: 0.8654 MB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.1021, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1024, allocations: 47.77 kB / 472.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1027, allocations: 51.83 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.103, allocations: 91.83 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1032, allocations: 99.69 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.1033, allocations: 12.22 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.447e-05/0.1034, allocations: 39.8 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.1035, allocations: 35.78 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1035, allocations: 4 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.1036, allocations: 43.98 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.1037, allocations: 27.91 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.1038, allocations: 39.73 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.1039, allocations: 92.05 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1039, allocations: 0 / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1039, allocations: 0 / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.104, allocations: 0 / 472.6 MB, free: 11.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000543/0.1045, allocations: 418.9 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1045, allocations: 8.031 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.1046, allocations: 20.75 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1048, allocations: 212.6 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1049, allocations: 4.375 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1049, allocations: 8.125 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.105, allocations: 53.67 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1051, allocations: 0 / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1051, allocations: 3.938 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1051, allocations: 0 / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.1052, allocations: 27.92 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.1055, allocations: 296.7 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1057, allocations: 62.67 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.1058, allocations: 20.84 kB / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1058, allocations: 0 / 473.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.106, allocations: 71.33 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.106, allocations: 4 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005041/0.1065, allocations: 177.2 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1066, allocations: 51.41 kB / 474 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1068, allocations: 226.7 kB / 474.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1068, allocations: 29.7 kB / 474.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.1069, allocations: 104 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.1069, allocations: 27.64 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.107, allocations: 29.72 kB / 474.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1071, allocations: 334.8 kB / 474.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.552e-05/0.1072, allocations: 16 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1073, allocations: 37.64 kB / 474.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1074, allocations: 65.64 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1074, allocations: 0 / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1076, allocations: 97.58 kB / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1076, allocations: 8 kB / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1076, allocations: 0 / 474.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1076, allocations: 3.938 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.1077, allocations: 15.98 kB / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1077, allocations: 4 kB / 475 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.1078, allocations: 7.938 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1078, allocations: 4 kB / 475 MB, free: 8.859 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.1079, allocations: 129.9 kB / 475.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.1079, allocations: 19.8 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.108, allocations: 21.39 kB / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.108, allocations: 0 / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.108, allocations: 0 / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.108, allocations: 3.938 kB / 475.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1084, allocations: 391.3 kB / 475.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1085, allocations: 7.922 kB / 475.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.1085, allocations: 15.97 kB / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1085, allocations: 0 / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1085, allocations: 4.312 kB / 475.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1085, allocations: 4 kB / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1085, allocations: 4 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1088, allocations: 204.2 kB / 475.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.1088, allocations: 89 kB / 475.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1088, allocations: 11.94 kB / 475.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1089, allocations: 4 kB / 475.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.109, allocations: 7.984 kB / 475.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.109, allocations: 4 kB / 475.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1091, allocations: 168.3 kB / 476 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1091, allocations: 0 / 476 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1094, allocations: 31.92 kB / 476.1 MB, free: 7.656 MB / 350.1 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 (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.001022/0.1104, allocations: 475.8 kB / 476.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1106, allocations: 59.92 kB / 476.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1106, allocations: 0 / 476.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.1107, allocations: 27.98 kB / 476.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.111, allocations: 38.75 kB / 476.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.1115, allocations: 312.4 kB / 477 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1118, allocations: 0.708 MB / 477.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.1118, allocations: 15.44 kB / 477.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1119, allocations: 0 / 477.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Templates: time 0.003618/0.1155, allocations: 1.984 MB / 479.7 MB, free: 4.188 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches