Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001068/0.001068, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.346/1.346, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2023/0.2023, allocations: 44.19 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.69 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.106, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003014/0.1091, allocations: 1.789 MB / 471.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1113, allocations: 1.557 MB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.1114, allocations: 3.938 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.1118, allocations: 59.67 kB / 473.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1121, allocations: 91.53 kB / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.1125, allocations: 162.8 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1128, allocations: 179.5 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.1128, allocations: 13.53 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.113, allocations: 75.59 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1132, allocations: 67.69 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1132, allocations: 15.98 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1133, allocations: 67.91 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.1134, allocations: 23.92 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.1135, allocations: 71.52 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1138, allocations: 167.8 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1138, allocations: 0 / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1138, allocations: 0 / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1138, allocations: 0 / 474.3 MB, free: 10.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006974/0.1145, allocations: 462.6 kB / 474.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1146, allocations: 16.03 kB / 474.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.1146, allocations: 16.75 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1149, allocations: 239.9 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.115, allocations: 8.375 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.115, allocations: 4.125 kB / 475 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1152, allocations: 101 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1153, allocations: 0 / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1153, allocations: 4 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1153, allocations: 0 / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1154, allocations: 31.97 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.1157, allocations: 218.4 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.116, allocations: 105.2 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1161, allocations: 41.64 kB / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1161, allocations: 0 / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.1164, allocations: 113 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1164, allocations: 0 / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004589/0.1169, allocations: 169.4 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.117, allocations: 128.5 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1173, allocations: 215.8 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1173, allocations: 25.7 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.1174, allocations: 112.1 kB / 476.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.1174, allocations: 31.69 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1175, allocations: 33.66 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1176, allocations: 326.8 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.1177, allocations: 27.98 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1179, allocations: 73.08 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1181, allocations: 95.88 kB / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1181, allocations: 0 / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002855/0.1184, allocations: 141.3 kB / 476.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1184, allocations: 4 kB / 476.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1184, allocations: 7.938 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1184, allocations: 0 / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1186, allocations: 31.98 kB / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1186, allocations: 4 kB / 477 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.1187, allocations: 11.92 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1187, allocations: 4 kB / 477 MB, free: 6.973 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001221/0.1188, allocations: 129.8 kB / 477.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1189, allocations: 15.81 kB / 477.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.1189, allocations: 24.97 kB / 477.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1189, allocations: 4 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.119, allocations: 4 kB / 477.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.119, allocations: 0 / 477.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1191, allocations: 221.4 kB / 477.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1192, allocations: 0 / 477.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.1192, allocations: 11.94 kB / 477.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1192, allocations: 0 / 477.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1192, allocations: 4 kB / 477.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1192, allocations: 0 / 477.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1192, allocations: 0 / 477.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.1195, allocations: 177.6 kB / 477.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1196, allocations: 88.95 kB / 477.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.1196, allocations: 4 kB / 477.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.1197, allocations: 7.984 kB / 477.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1198, allocations: 8 kB / 477.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1198, allocations: 12.11 kB / 477.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.12, allocations: 152.2 kB / 477.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.12, allocations: 4 kB / 477.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1203, allocations: 39.92 kB / 477.9 MB, free: 5.98 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001065/0.1213, allocations: 448.9 kB / 478.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1216, allocations: 95.83 kB / 478.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1217, allocations: 4 kB / 478.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.1218, allocations: 35.98 kB / 478.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1222, allocations: 63.75 kB / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1228, allocations: 297.5 kB / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1231, allocations: 0.7163 MB / 479.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.1231, allocations: 23.42 kB / 479.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1231, allocations: 0 / 479.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of Templates: time 0.005017/0.1282, allocations: 2.733 MB / 482.3 MB, free: 1.723 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches