Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 109.4 kB / 18.4 MB, free: 4.566 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.001675/0.001675, allocations: 188 kB / 19.34 MB, free: 3.641 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.411/1.411, allocations: 222.9 MB / 243 MB, free: 15.16 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.2169/0.2169, allocations: 44.18 MB / 337.4 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.12 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003569/0.1059, allocations: 1.695 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1076, allocations: 0.8886 MB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1077, allocations: 0 / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.108, allocations: 31.83 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1083, allocations: 71.62 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1087, allocations: 106.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1088, allocations: 95.75 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.1089, allocations: 16.22 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.109, allocations: 35.78 kB / 473.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.1091, allocations: 35.84 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1091, allocations: 4 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1093, allocations: 39.98 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.1093, allocations: 23.92 kB / 473.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1094, allocations: 35.73 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1096, allocations: 119.6 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1096, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1096, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1096, allocations: 3.938 kB / 473.9 MB, free: 10.48 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.0005584/0.1102, allocations: 410.9 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1102, allocations: 12.03 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1103, allocations: 8.844 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1106, allocations: 214.7 kB / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1106, allocations: 384 / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1107, allocations: 8.125 kB / 474.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1108, allocations: 57.61 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1108, allocations: 0 / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1108, allocations: 0 / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1108, allocations: 0 / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.1109, allocations: 19.98 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.1113, allocations: 296.8 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1115, allocations: 58.61 kB / 475 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.1115, allocations: 20.86 kB / 475 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1116, allocations: 0 / 475 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1117, allocations: 75.38 kB / 475.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1117, allocations: 0 / 475.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.1123, allocations: 169.2 kB / 475.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1123, allocations: 55.41 kB / 475.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1125, allocations: 199.3 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1125, allocations: 29.64 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.1126, allocations: 108.1 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1126, allocations: 23.7 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1127, allocations: 25.66 kB / 475.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1128, allocations: 330.8 kB / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.1129, allocations: 19.98 kB / 476 MB, free: 8.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.113, allocations: 37.64 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1131, allocations: 65.77 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1131, allocations: 0 / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.1133, allocations: 101.5 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1133, allocations: 8 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1133, allocations: 0 / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.1133, allocations: 0 / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.1134, allocations: 15.98 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1134, allocations: 4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1135, allocations: 7.938 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1135, allocations: 4 kB / 476.2 MB, free: 7.898 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 9.68e-05/0.1136, allocations: 129.8 kB / 476.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1136, allocations: 19.81 kB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.1137, allocations: 13.41 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1137, allocations: 0 / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1137, allocations: 7.984 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1137, allocations: 3.938 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.1141, allocations: 387.3 kB / 476.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1142, allocations: 4 kB / 476.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.1142, allocations: 8.031 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1142, allocations: 4 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1142, allocations: 3.938 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1142, allocations: 384 / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.1142, allocations: 11.97 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1145, allocations: 204.1 kB / 477 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1146, allocations: 81.02 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1146, allocations: 15.94 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.1147, allocations: 3.938 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.1147, allocations: 11.98 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1147, allocations: 4 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1148, allocations: 147.9 kB / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1148, allocations: 0 / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1151, allocations: 24 kB / 477.3 MB, free: 6.73 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.001037/0.1162, allocations: 471.5 kB / 477.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1163, allocations: 51.92 kB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1164, allocations: 0 / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.1164, allocations: 36.09 kB / 477.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1168, allocations: 39.22 kB / 477.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.1172, allocations: 239 kB / 478.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1175, allocations: 0.7002 MB / 478.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.1175, allocations: 20.88 kB / 478.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1176, allocations: 23.38 kB / 478.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1176, allocations: 0 / 478.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of Templates: time 0.00464/0.1222, allocations: 1.692 MB / 480.6 MB, free: 3.609 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches