Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 110 kB / 17.86 MB, free: 5.504 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.001704/0.001704, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.35 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.1986/0.1986, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.5 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1072, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003425/0.1107, allocations: 1.773 MB / 471 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1121, allocations: 0.8653 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.1122, allocations: 4 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.1125, allocations: 35.88 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1127, allocations: 59.75 kB / 471.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.113, allocations: 98.77 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1132, allocations: 119.7 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.1133, allocations: 11.98 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.1133, allocations: 47.78 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.1135, allocations: 51.7 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1135, allocations: 4 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1136, allocations: 55.98 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.1137, allocations: 31.89 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.1137, allocations: 35.75 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1139, allocations: 112 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1139, allocations: 0 / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1139, allocations: 0 / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1139, allocations: 0 / 472.5 MB, free: 11.51 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005689/0.1145, allocations: 431 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1145, allocations: 11.97 kB / 472.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.1146, allocations: 12.84 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1148, allocations: 220.8 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1149, allocations: 8.375 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1149, allocations: 16.03 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1151, allocations: 69.66 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1151, allocations: 3.938 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1151, allocations: 3.938 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1151, allocations: 0 / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1153, allocations: 43.95 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1157, allocations: 316.8 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1159, allocations: 82.58 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.116, allocations: 32.84 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1161, allocations: 0 / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.1163, allocations: 79.38 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1163, allocations: 0 / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008898/0.1172, allocations: 308.9 kB / 474.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1173, allocations: 59.34 kB / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1175, allocations: 179.3 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1175, allocations: 29.7 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.1176, allocations: 108.4 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.1176, allocations: 47.38 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1177, allocations: 29.72 kB / 474.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1179, allocations: 326.8 kB / 474.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.1179, allocations: 35.98 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1181, allocations: 57.62 kB / 474.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1183, allocations: 104.7 kB / 475 MB, free: 8.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1183, allocations: 0 / 475 MB, free: 8.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002684/0.1185, allocations: 149.5 kB / 475.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1186, allocations: 8 kB / 475.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1186, allocations: 0 / 475.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1186, allocations: 0 / 475.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.1187, allocations: 23.98 kB / 475.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1187, allocations: 7.938 kB / 475.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.1188, allocations: 4 kB / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1188, allocations: 7.984 kB / 475.2 MB, free: 8.504 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 (15): * Single equations (assignments): 15 * 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.0001335/0.1189, allocations: 134.3 kB / 475.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.119, allocations: 15.81 kB / 475.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.119, allocations: 25.52 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.119, allocations: 7.938 kB / 475.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1191, allocations: 3.938 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1191, allocations: 0.8438 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.1196, allocations: 487.9 kB / 475.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1196, allocations: 4.047 kB / 475.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.1197, allocations: 23.94 kB / 475.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1197, allocations: 0 / 475.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1197, allocations: 4 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1197, allocations: 0 / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1197, allocations: 3.984 kB / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.12, allocations: 257.1 kB / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1201, allocations: 96.8 kB / 476.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.1201, allocations: 8 kB / 476.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.1202, allocations: 3.938 kB / 476.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1203, allocations: 11.98 kB / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1203, allocations: 8 kB / 476.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1204, allocations: 136.9 kB / 476.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1204, allocations: 0 / 476.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1207, allocations: 39.98 kB / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.1218, allocations: 0.5033 MB / 477 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.1221, allocations: 95.84 kB / 477.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1221, allocations: 4 kB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1222, allocations: 51.91 kB / 477.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1226, allocations: 31.86 kB / 477.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.1231, allocations: 332.2 kB / 477.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.1234, allocations: 0.7126 MB / 478.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.1234, allocations: 23.44 kB / 478.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1234, allocations: 0 / 478.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Templates: time 0.00399/0.1274, allocations: 2.336 MB / 480.6 MB, free: 3.227 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches