Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 110.3 kB / 17.98 MB, free: 5.402 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.001302/0.001302, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.317/1.317, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.2294/0.2294, allocations: 44.18 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 63.59 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00349/0.1091, allocations: 1.706 MB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1106, allocations: 0.8459 MB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1107, allocations: 0 / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.111, allocations: 47.88 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1113, allocations: 55.77 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1117, allocations: 98.45 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1119, allocations: 95.69 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.1119, allocations: 7.984 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1121, allocations: 43.86 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1122, allocations: 47.7 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1122, allocations: 4 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1123, allocations: 31.98 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1124, allocations: 11.98 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.1124, allocations: 35.73 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1126, allocations: 72.12 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1126, allocations: 0 / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1126, allocations: 0 / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1127, allocations: 0 / 472.5 MB, free: 11.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006324/0.1133, allocations: 391.1 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1133, allocations: 12.03 kB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.1134, allocations: 8.844 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1136, allocations: 212 kB / 473.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1136, allocations: 384 / 473.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1137, allocations: 8.125 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1138, allocations: 45.67 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.1138, allocations: 3.938 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1138, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1139, allocations: 8 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.1139, allocations: 15.98 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1141, allocations: 177.7 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1143, allocations: 54.55 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.1144, allocations: 24.78 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1144, allocations: 4 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.1146, allocations: 63.39 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1146, allocations: 0 / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.1149, allocations: 101.7 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.115, allocations: 51.41 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1152, allocations: 171.5 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1152, allocations: 29.7 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.1153, allocations: 104.1 kB / 473.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1153, allocations: 15.75 kB / 474 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1154, allocations: 21.7 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1155, allocations: 322.8 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.1156, allocations: 12 kB / 474.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1156, allocations: 29.7 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1157, allocations: 49.64 kB / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1157, allocations: 0 / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.1159, allocations: 81.47 kB / 474.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1159, allocations: 8 kB / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1159, allocations: 0 / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.116, allocations: 0 / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.116, allocations: 11.94 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1161, allocations: 7.984 kB / 474.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1161, allocations: 4 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1161, allocations: 8.188 kB / 474.5 MB, free: 9.367 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 (7): * Single equations (assignments): 7 * 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.0001404/0.1163, allocations: 121.8 kB / 474.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1163, allocations: 11.81 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.1164, allocations: 16.3 kB / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1164, allocations: 0 / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1164, allocations: 0 / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1164, allocations: 0 / 474.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1165, allocations: 189.5 kB / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1166, allocations: 0 / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.1166, allocations: 8 kB / 474.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1166, allocations: 3.984 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1166, allocations: 4 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1166, allocations: 3.984 kB / 474.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1166, allocations: 3.938 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.1168, allocations: 113.1 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1169, allocations: 85.02 kB / 475 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1169, allocations: 4 kB / 475 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.117, allocations: 8 kB / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.117, allocations: 3.984 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.117, allocations: 4 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1172, allocations: 127.1 kB / 475.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1172, allocations: 4 kB / 475.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.1174, allocations: 20 kB / 475.2 MB, free: 8.551 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001097/0.1185, allocations: 412.8 kB / 475.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1187, allocations: 51.91 kB / 475.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1188, allocations: 3.938 kB / 475.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.1188, allocations: 16 kB / 475.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1191, allocations: 35.89 kB / 475.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1197, allocations: 231.6 kB / 475.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1201, allocations: 0.6962 MB / 476.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.1201, allocations: 19.42 kB / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1201, allocations: 0 / 476.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of Templates: time 0.003814/0.1239, allocations: 1.654 MB / 478.3 MB, free: 5.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches