Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001234/0.001234, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.373/1.373, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2087/0.2087, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 61.31 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003265/0.1054, allocations: 1.692 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1069, allocations: 0.8769 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.107, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1074, allocations: 83.75 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1077, allocations: 79.66 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.108, allocations: 110.8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1082, allocations: 107.7 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1084, allocations: 12.22 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1085, allocations: 55.77 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1086, allocations: 47.84 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1086, allocations: 4 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1088, allocations: 43.97 kB / 473 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.1088, allocations: 23.92 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1089, allocations: 35.73 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1091, allocations: 127.8 kB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1091, allocations: 0 / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1091, allocations: 3.938 kB / 473.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1092, allocations: 0 / 473.2 MB, free: 11.05 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.0005471/0.1097, allocations: 418.9 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1098, allocations: 8.031 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.1098, allocations: 8.844 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1101, allocations: 216 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1101, allocations: 4.375 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1101, allocations: 8.125 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1103, allocations: 49.67 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1103, allocations: 7.938 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1103, allocations: 4 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1103, allocations: 3.984 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.1104, allocations: 15.98 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1108, allocations: 288.9 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.111, allocations: 62.61 kB / 474.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.111, allocations: 16.86 kB / 474.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1111, allocations: 3.984 kB / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.1113, allocations: 71.39 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1113, allocations: 0 / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005974/0.1119, allocations: 177 kB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1119, allocations: 59.39 kB / 474.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1122, allocations: 211.4 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1122, allocations: 29.7 kB / 474.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1122, allocations: 108.1 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1123, allocations: 15.66 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1123, allocations: 33.7 kB / 475 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1125, allocations: 326.8 kB / 475.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.1125, allocations: 23.98 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.1126, allocations: 33.66 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1127, allocations: 57.78 kB / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1127, allocations: 4 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1129, allocations: 105.5 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.113, allocations: 8 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.113, allocations: 0 / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.113, allocations: 0.5625 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.1131, allocations: 12 kB / 475.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1131, allocations: 7.938 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.1132, allocations: 11.92 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1132, allocations: 8 kB / 475.6 MB, free: 8.445 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.0001069/0.1133, allocations: 125.9 kB / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1133, allocations: 19.73 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.1134, allocations: 13.41 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1134, allocations: 4 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1134, allocations: 0 / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1134, allocations: 3.938 kB / 475.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.1138, allocations: 395.3 kB / 476.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1139, allocations: 4.031 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.1139, allocations: 12 kB / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1139, allocations: 0 / 476.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1139, allocations: 7.938 kB / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1139, allocations: 0 / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1139, allocations: 0 / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1142, allocations: 200.2 kB / 476.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.1142, allocations: 97 kB / 476.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1143, allocations: 7.938 kB / 476.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1143, allocations: 3.938 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1144, allocations: 7.984 kB / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1144, allocations: 11.94 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1146, allocations: 160.2 kB / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1146, allocations: 0 / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1148, allocations: 20 kB / 476.7 MB, free: 7.27 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.001046/0.1159, allocations: 462 kB / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1161, allocations: 63.86 kB / 477.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1161, allocations: 0 / 477.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.1162, allocations: 35.98 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1165, allocations: 31.22 kB / 477.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1171, allocations: 273 kB / 477.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1173, allocations: 0.708 MB / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1174, allocations: 15.44 kB / 478.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1174, allocations: 0 / 478.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.003746/0.1211, allocations: 1.946 MB / 480.2 MB, free: 3.879 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches