Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 111.4 kB / 17.04 MB, free: 6.051 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.001174/0.001174, allocations: 195 kB / 17.97 MB, free: 5.137 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.445/1.445, allocations: 205.1 MB / 223.8 MB, free: 12.22 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.2045/0.2045, allocations: 43.53 MB / 314.7 MB, free: 472 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.001402/0.001402, allocations: 70.5 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09765, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002655/0.1004, allocations: 1.689 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1019, allocations: 1.398 MB / 445.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.102, allocations: 3.938 kB / 445.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1023, allocations: 43.83 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1025, allocations: 63.64 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1027, allocations: 79.77 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1029, allocations: 99.73 kB / 445.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.103, allocations: 8.234 kB / 445.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.103, allocations: 43.78 kB / 445.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1032, allocations: 35.78 kB / 445.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1032, allocations: 12 kB / 445.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1033, allocations: 67.89 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1034, allocations: 8 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.1034, allocations: 31.8 kB / 445.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1036, allocations: 119.6 kB / 445.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1036, allocations: 4 kB / 445.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1036, allocations: 0 / 445.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1036, allocations: 0 / 445.7 MB, free: 2.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004979/0.1041, allocations: 407 kB / 446.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1042, allocations: 15.89 kB / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1042, allocations: 8.844 kB / 446.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1045, allocations: 209.4 kB / 446.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1045, allocations: 384 / 446.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1045, allocations: 12.05 kB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1047, allocations: 71.39 kB / 446.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1047, allocations: 3.906 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1047, allocations: 7.984 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1047, allocations: 8 kB / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.1048, allocations: 19.92 kB / 446.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.1051, allocations: 284.8 kB / 446.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1053, allocations: 50.69 kB / 446.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.1053, allocations: 20.84 kB / 446.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1054, allocations: 7.938 kB / 446.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.1055, allocations: 67.39 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1055, allocations: 0 / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004756/0.106, allocations: 173.3 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.106, allocations: 77.11 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1061, allocations: 152.9 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1062, allocations: 29.7 kB / 447.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.1062, allocations: 100.1 kB / 447.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1062, allocations: 27.64 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.1063, allocations: 25.72 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.1063, allocations: 322.8 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.1064, allocations: 23.98 kB / 447.8 MB, free: 124 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/0.1064, allocations: 42.56 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.078e-05/0.1065, allocations: 57.77 kB / 447.9 MB, free: 8 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1065, allocations: 0 / 447.9 MB, free: 8 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002731/0.1068, allocations: 105.5 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1068, allocations: 8 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1069, allocations: 0 / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1069, allocations: 0 / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.107, allocations: 16 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.107, allocations: 3.984 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.107, allocations: 11.88 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1071, allocations: 8 kB / 448 MB, free: 15.85 MB / 334.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.0001834/0.1072, allocations: 125.4 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1073, allocations: 11.84 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1073, allocations: 17.08 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1073, allocations: 0 / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1073, allocations: 4.125 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1074, allocations: 3.938 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1078, allocations: 395.3 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1078, allocations: 0 / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.1078, allocations: 15.92 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1078, allocations: 0 / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1079, allocations: 7.938 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1079, allocations: 0 / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1079, allocations: 0 / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1081, allocations: 204.3 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1082, allocations: 85.02 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1082, allocations: 7.922 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1083, allocations: 4 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.1083, allocations: 11.94 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1083, allocations: 7.984 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.1085, allocations: 111.3 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1085, allocations: 4 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1087, allocations: 31.98 kB / 449 MB, free: 14.71 MB / 334.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.001109/0.1099, allocations: 0.4972 MB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.11, allocations: 59.91 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1101, allocations: 0 / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/0.1101, allocations: 27.98 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1105, allocations: 27.98 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.1109, allocations: 202.9 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1112, allocations: 0.6963 MB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.1113, allocations: 16.88 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1113, allocations: 19.42 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1113, allocations: 4 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Templates: time 0.00487/0.1162, allocations: 1.94 MB / 452.5 MB, free: 11.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches