Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.001494/0.001494, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.284/1.284, allocations: 222.9 MB / 242.6 MB, free: 15.29 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.2191/0.2191, allocations: 44.17 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 65.03 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1022, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003357/0.1056, allocations: 1.973 MB / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.107, allocations: 0.9082 MB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1071, allocations: 4 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1074, allocations: 31.84 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1077, allocations: 51.75 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.108, allocations: 107.8 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1082, allocations: 143.5 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1083, allocations: 33.48 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1085, allocations: 51.72 kB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.1086, allocations: 51.72 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1086, allocations: 4 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1087, allocations: 51.97 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.1088, allocations: 31.8 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.1088, allocations: 47.67 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.109, allocations: 116 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.109, allocations: 0 / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.109, allocations: 0 / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1091, allocations: 0 / 473 MB, free: 11.1 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006021/0.1097, allocations: 472.6 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1097, allocations: 8.031 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1098, allocations: 16.75 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.11, allocations: 232.4 kB / 473.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.11, allocations: 8.375 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1101, allocations: 12.12 kB / 473.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1103, allocations: 108.2 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1103, allocations: 0 / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1103, allocations: 3.938 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1103, allocations: 0 / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1105, allocations: 51.97 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.1111, allocations: 0.5126 MB / 474.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.1114, allocations: 82.67 kB / 474.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.1115, allocations: 40.83 kB / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1115, allocations: 0 / 474.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1117, allocations: 87.31 kB / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1117, allocations: 0 / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003658/0.1121, allocations: 145.4 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1122, allocations: 55.34 kB / 474.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1123, allocations: 187.5 kB / 475 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1124, allocations: 29.7 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1124, allocations: 112 kB / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1125, allocations: 27.98 kB / 475.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1125, allocations: 33.7 kB / 475.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1126, allocations: 326.8 kB / 475.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.1127, allocations: 27.98 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.1128, allocations: 75.52 kB / 475.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.113, allocations: 96.22 kB / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.113, allocations: 0 / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002515/0.1133, allocations: 133.3 kB / 475.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1133, allocations: 4 kB / 475.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1133, allocations: 8.125 kB / 475.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1133, allocations: 0 / 475.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1135, allocations: 35.86 kB / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1135, allocations: 0 / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.1135, allocations: 15.92 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1136, allocations: 4 kB / 475.9 MB, free: 7.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001014/0.1137, allocations: 121.8 kB / 476 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1137, allocations: 11.81 kB / 476 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1137, allocations: 33.38 kB / 476 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1138, allocations: 3.938 kB / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1138, allocations: 0 / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1138, allocations: 3.938 kB / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1139, allocations: 205.6 kB / 476.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1139, allocations: 4 kB / 476.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.114, allocations: 19.92 kB / 476.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.114, allocations: 0 / 476.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1141, allocations: 4 kB / 476.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1141, allocations: 3.938 kB / 476.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1141, allocations: 0 / 476.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.1144, allocations: 184.9 kB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1145, allocations: 96.88 kB / 476.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.1145, allocations: 4 kB / 476.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.1146, allocations: 11.94 kB / 476.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1146, allocations: 3.984 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1147, allocations: 4.062 kB / 476.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1148, allocations: 145.2 kB / 476.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1148, allocations: 0 / 476.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000234/0.115, allocations: 24.12 kB / 476.7 MB, free: 6.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008626/0.1159, allocations: 405.6 kB / 477.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1161, allocations: 91.77 kB / 477.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1161, allocations: 4.25 kB / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.1162, allocations: 39.92 kB / 477.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1165, allocations: 31.97 kB / 477.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.1171, allocations: 325.6 kB / 477.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1173, allocations: 0.7123 MB / 478.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.1174, allocations: 15.44 kB / 478.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1174, allocations: 0 / 478.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.003847/0.1212, allocations: 2.181 MB / 480.5 MB, free: 3.273 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches