Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001464/0.001464, allocations: 194 kB / 18.12 MB, free: 5.363 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.427/1.427, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.231/0.231, allocations: 44.18 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.31 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003504/0.1121, allocations: 1.748 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1136, allocations: 0.8654 MB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1137, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1141, allocations: 55.8 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1143, allocations: 55.75 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1146, allocations: 99.77 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1148, allocations: 91.75 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.1149, allocations: 8.219 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.115, allocations: 43.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.1151, allocations: 39.77 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1151, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.1152, allocations: 39.98 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.1153, allocations: 27.86 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.1154, allocations: 43.66 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1156, allocations: 127.8 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1156, allocations: 0 / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1156, allocations: 0 / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1156, allocations: 0 / 471.8 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.0005235/0.1161, allocations: 438.8 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1162, allocations: 12.03 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.1162, allocations: 16.73 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1164, allocations: 212 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1165, allocations: 8.359 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1165, allocations: 8.125 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1166, allocations: 53.67 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1167, allocations: 0 / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1167, allocations: 7.984 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1167, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.1168, allocations: 23.92 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1171, allocations: 292.9 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1173, allocations: 54.67 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.1174, allocations: 28.84 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1174, allocations: 7.938 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.1176, allocations: 63.33 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1176, allocations: 0 / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005187/0.1181, allocations: 193 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1182, allocations: 51.41 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.1184, allocations: 266.9 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1185, allocations: 25.7 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.1185, allocations: 116.1 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1186, allocations: 15.72 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1186, allocations: 29.7 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1187, allocations: 326.8 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.1188, allocations: 20 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.1189, allocations: 41.64 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.119, allocations: 73.69 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.119, allocations: 0 / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1192, allocations: 105.4 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1192, allocations: 6.344 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1192, allocations: 0 / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.1192, allocations: 0 / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.1193, allocations: 16 kB / 474.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1193, allocations: 4.031 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1194, allocations: 11.92 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1194, allocations: 4 kB / 474.2 MB, free: 8.887 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.0001054/0.1195, allocations: 140.4 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.1195, allocations: 15.81 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1196, allocations: 17.41 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1196, allocations: 0 / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1196, allocations: 3.984 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1196, allocations: 3.938 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.12, allocations: 403.3 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.12, allocations: 0 / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1201, allocations: 15.92 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1201, allocations: 0 / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1201, allocations: 7.938 kB / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1201, allocations: 0 / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1201, allocations: 0 / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1203, allocations: 208.2 kB / 475 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1204, allocations: 92.86 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1204, allocations: 7.922 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.1205, allocations: 0 / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.1205, allocations: 12.31 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1206, allocations: 7.984 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1207, allocations: 200.2 kB / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1207, allocations: 0 / 475.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.121, allocations: 20 kB / 475.4 MB, free: 7.652 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.001028/0.122, allocations: 472.3 kB / 475.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1222, allocations: 63.89 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1222, allocations: 0 / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.1223, allocations: 27.98 kB / 475.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1227, allocations: 27.73 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.1232, allocations: 313.5 kB / 476.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1236, allocations: 0.716 MB / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.1237, allocations: 20.86 kB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.1237, allocations: 15.44 kB / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1237, allocations: 0 / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Templates: time 0.004637/0.1284, allocations: 1.672 MB / 478.7 MB, free: 4.477 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches