Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, 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.001188/0.001188, 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.339/1.339, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2349/0.2349, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 72.69 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 60.81 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003147/0.1138, allocations: 1.695 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1152, allocations: 0.8847 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.1154, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.1157, allocations: 91.69 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.116, allocations: 67.73 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1163, allocations: 111.6 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1165, allocations: 111.7 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.1166, allocations: 4.234 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.1167, allocations: 55.77 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1168, allocations: 59.77 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1168, allocations: 0 / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1169, allocations: 47.97 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.117, allocations: 19.92 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.1171, allocations: 31.75 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1173, allocations: 119.9 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1173, allocations: 3.938 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1173, allocations: 0 / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1173, allocations: 3.938 kB / 473.2 MB, free: 11.07 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.0005249/0.1178, allocations: 426.9 kB / 473.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1179, allocations: 8.031 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1179, allocations: 12.83 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1181, allocations: 208 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1182, allocations: 12.36 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1182, allocations: 4.125 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1184, allocations: 53.67 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1184, allocations: 7.984 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1184, allocations: 4 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1184, allocations: 0 / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.1185, allocations: 23.92 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1189, allocations: 284.9 kB / 474.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1191, allocations: 54.69 kB / 474.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.1191, allocations: 20.84 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1191, allocations: 4 kB / 474.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1194, allocations: 71.33 kB / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1194, allocations: 0 / 474.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000532/0.1199, allocations: 181 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.12, allocations: 55.34 kB / 474.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1202, allocations: 219.5 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1202, allocations: 25.7 kB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.1203, allocations: 104.1 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1203, allocations: 27.64 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1203, allocations: 21.72 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1205, allocations: 326.8 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.1205, allocations: 23.98 kB / 475.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.1206, allocations: 33.7 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1207, allocations: 73.7 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1207, allocations: 0 / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.1209, allocations: 89.59 kB / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1209, allocations: 8 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1209, allocations: 0 / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.121, allocations: 0 / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.1211, allocations: 19.92 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1211, allocations: 0 / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1211, allocations: 16.16 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1211, allocations: 4 kB / 475.6 MB, free: 8.457 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.0001413/0.1213, allocations: 129.8 kB / 475.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1213, allocations: 11.81 kB / 475.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.1214, allocations: 21.39 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1214, allocations: 4 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1214, allocations: 0 / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1214, allocations: 3.938 kB / 475.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.1219, allocations: 395.7 kB / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1219, allocations: 0 / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.1219, allocations: 19.92 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1219, allocations: 0 / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1219, allocations: 7.938 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1219, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.122, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1222, allocations: 208.2 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1222, allocations: 85.02 kB / 476.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1223, allocations: 3.938 kB / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.1224, allocations: 7.984 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1224, allocations: 11.94 kB / 476.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1224, allocations: 4 kB / 476.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1225, allocations: 164.2 kB / 476.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1225, allocations: 0 / 476.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1228, allocations: 24 kB / 476.7 MB, free: 7.273 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.001026/0.1239, allocations: 458.8 kB / 477.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.124, allocations: 63.91 kB / 477.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1241, allocations: 4 kB / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.1241, allocations: 28.14 kB / 477.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1245, allocations: 34.95 kB / 477.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.125, allocations: 277 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1252, allocations: 0.7119 MB / 478.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.1253, allocations: 15.44 kB / 478.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1253, allocations: 0 / 478.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.1289, allocations: 1.944 MB / 480.2 MB, free: 3.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches