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.001321/0.001321, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001406/0.001406, allocations: 194 kB / 18.77 MB, free: 4.742 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.429/1.429, allocations: 222.9 MB / 242.5 MB, free: 13.71 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.2128/0.2128, allocations: 44.18 MB / 336.8 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003246/0.1069, allocations: 1.757 MB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1084, allocations: 0.8653 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.1085, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1088, allocations: 35.89 kB / 471.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1091, allocations: 51.77 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1094, allocations: 95.81 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1095, allocations: 91.7 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.1096, allocations: 12.22 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1097, allocations: 39.78 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.1098, allocations: 35.78 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1099, allocations: 0 / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.11, allocations: 43.98 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.11, allocations: 23.91 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.1101, allocations: 39.73 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1103, allocations: 80.11 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1103, allocations: 0 / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1103, allocations: 4 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1103, allocations: 0 / 472.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005147/0.1108, allocations: 418.8 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1109, allocations: 8.031 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.1109, allocations: 12.84 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1112, allocations: 204.8 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1112, allocations: 8.375 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1112, allocations: 4.125 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1114, allocations: 53.67 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1114, allocations: 4 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1114, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1114, allocations: 0 / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.1115, allocations: 23.92 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.1119, allocations: 288.8 kB / 473.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1121, allocations: 62.67 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.1121, allocations: 20.84 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1121, allocations: 0 / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1124, allocations: 75.31 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.1124, allocations: 4 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.1129, allocations: 181.1 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.113, allocations: 51.41 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1132, allocations: 199.3 kB / 473.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1132, allocations: 25.7 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.1133, allocations: 100.1 kB / 474.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1133, allocations: 23.7 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1134, allocations: 21.72 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1135, allocations: 334.8 kB / 474.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.1136, allocations: 23.92 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.1136, allocations: 33.7 kB / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1138, allocations: 65.58 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1138, allocations: 0 / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.114, allocations: 101.6 kB / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.114, allocations: 4 kB / 474.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.114, allocations: 0 / 474.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.114, allocations: 4 kB / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.1141, allocations: 23.92 kB / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1141, allocations: 0 / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.1142, allocations: 7.938 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1142, allocations: 0 / 474.7 MB, free: 9.031 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.0001077/0.1143, allocations: 132.8 kB / 474.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1143, allocations: 15.81 kB / 474.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1144, allocations: 21.39 kB / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1144, allocations: 0 / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1144, allocations: 0 / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1144, allocations: 3.938 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.1149, allocations: 391.3 kB / 475.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1149, allocations: 0 / 475.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.1149, allocations: 8 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.115, allocations: 7.969 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.115, allocations: 11.92 kB / 475.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.115, allocations: 0 / 475.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.115, allocations: 0 / 475.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1152, allocations: 204.4 kB / 475.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1153, allocations: 85.02 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1153, allocations: 3.938 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.1154, allocations: 12.36 kB / 475.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1154, allocations: 8 kB / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1155, allocations: 8 kB / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1156, allocations: 144.9 kB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1156, allocations: 0 / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1159, allocations: 31.98 kB / 475.8 MB, free: 7.863 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.001104/0.117, allocations: 479.7 kB / 476.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1172, allocations: 51.98 kB / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1172, allocations: 0 / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.1173, allocations: 31.92 kB / 476.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1176, allocations: 38.91 kB / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1181, allocations: 274.7 kB / 476.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1184, allocations: 0.7121 MB / 477.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.1185, allocations: 15.44 kB / 477.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 1.983e-06/0.1185, allocations: 0 / 477.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Templates: time 0.003776/0.1223, allocations: 1.924 MB / 479.3 MB, free: 4.488 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 -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