Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, 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.001144/0.001144, 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.33/1.33, allocations: 222.9 MB / 242.5 MB, free: 15.41 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.2076/0.2076, allocations: 44.17 MB / 336.8 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.55 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00345/0.1058, allocations: 1.94 MB / 471.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1074, allocations: 0.9744 MB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1076, allocations: 0 / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.108, allocations: 223.5 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1084, allocations: 147.5 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.1088, allocations: 167.1 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1092, allocations: 227.3 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1093, allocations: 25.67 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1094, allocations: 111.5 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1097, allocations: 151.5 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1097, allocations: 4 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1099, allocations: 59.98 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.11, allocations: 63.75 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1101, allocations: 75.36 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1103, allocations: 175.9 kB / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1103, allocations: 0 / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1103, allocations: 0 / 473.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1103, allocations: 0 / 473.5 MB, free: 10.49 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007287/0.1111, allocations: 0.5642 MB / 474.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1111, allocations: 8.031 kB / 474.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.1112, allocations: 24.66 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1115, allocations: 276.1 kB / 474.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1115, allocations: 8.359 kB / 474.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.1115, allocations: 12.12 kB / 474.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1118, allocations: 111.3 kB / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1118, allocations: 3.906 kB / 474.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1118, allocations: 8 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1118, allocations: 0 / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.112, allocations: 43.97 kB / 474.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.1126, allocations: 480.6 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.113, allocations: 125.2 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1131, allocations: 45.81 kB / 475.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1131, allocations: 0 / 475.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.1134, allocations: 113.1 kB / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1134, allocations: 0 / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001317/0.1147, allocations: 0.5007 MB / 475.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1148, allocations: 85.05 kB / 475.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.1152, allocations: 424.5 kB / 476.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1152, allocations: 37.69 kB / 476.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.1153, allocations: 156.5 kB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.1154, allocations: 63.11 kB / 476.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.1155, allocations: 45.7 kB / 476.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1156, allocations: 342.8 kB / 476.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1157, allocations: 51.98 kB / 477 MB, free: 6.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1159, allocations: 99.33 kB / 477.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.1162, allocations: 159.4 kB / 477.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1162, allocations: 3.938 kB / 477.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000422/0.1166, allocations: 237.2 kB / 477.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1166, allocations: 8 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1167, allocations: 8 kB / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1167, allocations: 0 / 477.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1168, allocations: 43.92 kB / 477.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1168, allocations: 0 / 477.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.1169, allocations: 15.92 kB / 477.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.117, allocations: 8 kB / 477.5 MB, free: 6.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000161/0.1171, allocations: 174.3 kB / 477.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.1172, allocations: 31.56 kB / 477.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.1173, allocations: 42.62 kB / 477.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1173, allocations: 4 kB / 477.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1173, allocations: 0 / 477.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1173, allocations: 7.984 kB / 477.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/0.1183, allocations: 0.7233 MB / 478.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1183, allocations: 4 kB / 478.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.1184, allocations: 31.92 kB / 478.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1184, allocations: 4 kB / 478.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1184, allocations: 4 kB / 478.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1184, allocations: 4.188 kB / 478.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1184, allocations: 4.219 kB / 478.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.1189, allocations: 429.7 kB / 479 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.119, allocations: 104.7 kB / 479.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.119, allocations: 8 kB / 479.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1192, allocations: 7.984 kB / 479.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.1193, allocations: 27.86 kB / 479.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.1193, allocations: 11.98 kB / 479.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.1196, allocations: 319 kB / 479.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1197, allocations: 0 / 479.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.1201, allocations: 51.98 kB / 479.5 MB, free: 4.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001228/0.1213, allocations: 0.5074 MB / 480 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.1217, allocations: 157.1 kB / 480.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1217, allocations: 4 kB / 480.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1218, allocations: 79.84 kB / 480.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.1225, allocations: 64.64 kB / 480.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.1234, allocations: 0.6448 MB / 481 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1237, allocations: 0.7755 MB / 481.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.1238, allocations: 31.44 kB / 481.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1238, allocations: 0 / 481.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Templates: time 0.006138/0.13, allocations: 3.646 MB / 485.4 MB, free: 14.3 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time