Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00103/0.00103, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.357/1.357, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2083/0.2083, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.28 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003137/0.1091, allocations: 1.688 MB / 471.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1112, allocations: 1.487 MB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.435e-05/0.1113, allocations: 0 / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1116, allocations: 31.83 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1118, allocations: 67.67 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1122, allocations: 106.8 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1124, allocations: 95.7 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.1125, allocations: 16.22 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.1126, allocations: 43.78 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1127, allocations: 39.83 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1128, allocations: 4 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1129, allocations: 55.98 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.113, allocations: 19.86 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.113, allocations: 31.8 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1133, allocations: 124 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1133, allocations: 3.938 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1133, allocations: 0 / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1133, allocations: 0 / 473.7 MB, free: 10.56 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.000557/0.1139, allocations: 406.1 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.114, allocations: 8.031 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.114, allocations: 8.844 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1142, allocations: 208 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1143, allocations: 4.359 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1143, allocations: 4.125 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1145, allocations: 75.39 kB / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1145, allocations: 3.938 kB / 474.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1145, allocations: 4 kB / 474.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1145, allocations: 4 kB / 474.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.1146, allocations: 15.98 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.115, allocations: 284.8 kB / 474.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1152, allocations: 58.69 kB / 474.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.1153, allocations: 24.83 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1153, allocations: 3.938 kB / 474.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.1155, allocations: 67.39 kB / 474.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1155, allocations: 3.938 kB / 474.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.1161, allocations: 177.2 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1161, allocations: 81.11 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1163, allocations: 153.8 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1163, allocations: 25.7 kB / 475.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1163, allocations: 96.14 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1164, allocations: 23.7 kB / 475.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.1164, allocations: 21.72 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.1165, allocations: 322.8 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.1166, allocations: 23.98 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.1167, allocations: 46.56 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1168, allocations: 57.64 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1168, allocations: 0 / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.117, allocations: 101.6 kB / 476 MB, free: 8.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.117, allocations: 4 kB / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1171, allocations: 0 / 476 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1171, allocations: 4.062 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.1172, allocations: 23.92 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1172, allocations: 0 / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.1173, allocations: 7.875 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1173, allocations: 4 kB / 476 MB, free: 8.004 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.471e-05/0.1174, allocations: 129.2 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1174, allocations: 7.906 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1175, allocations: 12.72 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1175, allocations: 4.375 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1175, allocations: 0 / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1175, allocations: 3.938 kB / 476.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1179, allocations: 395.5 kB / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1179, allocations: 0 / 476.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.118, allocations: 11.94 kB / 476.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.118, allocations: 0 / 476.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.118, allocations: 7.938 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.118, allocations: 4.031 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.118, allocations: 3.938 kB / 476.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1183, allocations: 204.1 kB / 476.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1183, allocations: 89 kB / 476.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1184, allocations: 3.938 kB / 476.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.188e-05/0.1185, allocations: 4 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1185, allocations: 15.98 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1185, allocations: 4 kB / 476.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.379e-05/0.1186, allocations: 117.8 kB / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1186, allocations: 0 / 477 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1189, allocations: 28 kB / 477.1 MB, free: 6.875 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.001141/0.1201, allocations: 0.489 MB / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1203, allocations: 63.91 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1203, allocations: 0 / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.1204, allocations: 39.98 kB / 477.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1207, allocations: 26.78 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.1212, allocations: 224.6 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1215, allocations: 0.7012 MB / 478.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.1215, allocations: 23.38 kB / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1215, allocations: 0 / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.004183/0.1257, allocations: 2.048 MB / 480.7 MB, free: 3.41 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches