Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 110 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.001824/0.001824, allocations: 199.4 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2035/0.2035, allocations: 44.19 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.39 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003045/0.1196, allocations: 1.716 MB / 471.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.121, allocations: 0.8847 MB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.1211, allocations: 3.938 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.1214, allocations: 111.7 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1217, allocations: 87.69 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.122, allocations: 107.6 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1222, allocations: 123.7 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1223, allocations: 19.98 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.1224, allocations: 55.78 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1225, allocations: 67.75 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1226, allocations: 4 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1227, allocations: 63.95 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.1228, allocations: 27.86 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.1228, allocations: 43.69 kB / 473.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.123, allocations: 147.8 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.123, allocations: 0 / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1231, allocations: 4 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1231, allocations: 0 / 473.4 MB, free: 10.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005652/0.1236, allocations: 450.7 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1237, allocations: 8.031 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.1237, allocations: 16.75 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.124, allocations: 231.8 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.124, allocations: 4.359 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.124, allocations: 12.12 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1242, allocations: 61.67 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1242, allocations: 4 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1242, allocations: 0 / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1242, allocations: 0 / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.1243, allocations: 35.91 kB / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1248, allocations: 316.7 kB / 474.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1251, allocations: 74.55 kB / 474.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.1251, allocations: 28.94 kB / 474.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1252, allocations: 7.938 kB / 474.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1254, allocations: 71.53 kB / 474.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.1254, allocations: 0 / 474.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008298/0.1262, allocations: 280.8 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1263, allocations: 59.34 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1265, allocations: 243.2 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1265, allocations: 29.64 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.1266, allocations: 112.1 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.1267, allocations: 39.45 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.1267, allocations: 33.7 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1268, allocations: 322.8 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1269, allocations: 35.98 kB / 475.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.127, allocations: 57.62 kB / 475.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1272, allocations: 81.72 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1272, allocations: 0 / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002452/0.1274, allocations: 141.4 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1274, allocations: 11.98 kB / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1275, allocations: 32 / 476.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1275, allocations: 4 kB / 476.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.1276, allocations: 24 kB / 476.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1276, allocations: 7.922 kB / 476.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1276, allocations: 8 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1277, allocations: 4 kB / 476.1 MB, free: 7.879 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 (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.0001091/0.1278, allocations: 141 kB / 476.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1278, allocations: 11.81 kB / 476.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.1279, allocations: 25.39 kB / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1279, allocations: 8 kB / 476.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1279, allocations: 3.938 kB / 476.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1279, allocations: 0 / 476.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.1285, allocations: 479.9 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1285, allocations: 0 / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1285, allocations: 12 kB / 476.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1285, allocations: 4.062 kB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1286, allocations: 8 kB / 476.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1286, allocations: 7.984 kB / 476.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1286, allocations: 0 / 476.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.1289, allocations: 244.9 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1289, allocations: 92.91 kB / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1289, allocations: 8 kB / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.129, allocations: 4 kB / 477.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1291, allocations: 16.06 kB / 477.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1291, allocations: 7.938 kB / 477.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1293, allocations: 188.2 kB / 477.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1293, allocations: 0 / 477.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1296, allocations: 31.98 kB / 477.4 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001163/0.1307, allocations: 0.5154 MB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.131, allocations: 91.84 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.131, allocations: 4 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.1311, allocations: 43.92 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1314, allocations: 39.88 kB / 478.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.132, allocations: 350.5 kB / 478.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1323, allocations: 0.724 MB / 479.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1324, allocations: 23.42 kB / 479.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1324, allocations: 0 / 479.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Templates: time 0.004995/0.1374, allocations: 2.352 MB / 481.5 MB, free: 2.516 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches