Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001819/0.001819, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.459/1.459, allocations: 222.9 MB / 243 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.2065/0.2065, allocations: 44.17 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 71.98 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1147, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003305/0.118, allocations: 1.702 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1202, allocations: 1.491 MB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.1203, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1206, allocations: 43.77 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1209, allocations: 51.77 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1212, allocations: 111.4 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1214, allocations: 99.69 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1215, allocations: 16.22 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1217, allocations: 35.8 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1218, allocations: 43.77 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1218, allocations: 4 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.122, allocations: 59.98 kB / 474.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.122, allocations: 19.91 kB / 474.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.1221, allocations: 31.8 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1223, allocations: 119.6 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1223, allocations: 0 / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1223, allocations: 0 / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1224, allocations: 0 / 474.5 MB, free: 9.82 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.000498/0.1229, allocations: 411.1 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1229, allocations: 11.97 kB / 474.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.123, allocations: 12.83 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1233, allocations: 208.1 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1233, allocations: 4.375 kB / 475.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1233, allocations: 4.125 kB / 475.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1235, allocations: 71.39 kB / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1235, allocations: 0 / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1235, allocations: 3.938 kB / 475.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1235, allocations: 4 kB / 475.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.1236, allocations: 19.98 kB / 475.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.124, allocations: 276.9 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1242, allocations: 62.67 kB / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.1243, allocations: 24.73 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1243, allocations: 0 / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.1245, allocations: 71.38 kB / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1245, allocations: 0 / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005327/0.125, allocations: 177.2 kB / 475.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1251, allocations: 81.11 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1253, allocations: 152.4 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.1253, allocations: 25.7 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.1253, allocations: 100.1 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1254, allocations: 19.7 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.1254, allocations: 29.7 kB / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1256, allocations: 318.8 kB / 476.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.1256, allocations: 23.98 kB / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.1257, allocations: 46.56 kB / 476.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1259, allocations: 57.64 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1259, allocations: 0 / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.1261, allocations: 97.53 kB / 476.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1262, allocations: 8 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1262, allocations: 0 / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1262, allocations: 8.047 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/0.1263, allocations: 16 kB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1263, allocations: 0 / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.1263, allocations: 7.875 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1264, allocations: 4 kB / 476.8 MB, free: 7.262 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 9.286e-05/0.1265, allocations: 126 kB / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.1265, allocations: 7.906 kB / 477 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.1265, allocations: 20.59 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1265, allocations: 0 / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1266, allocations: 4 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1266, allocations: 7.922 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.127, allocations: 387.3 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.127, allocations: 0 / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1271, allocations: 8 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1271, allocations: 0 / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1271, allocations: 11.92 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1271, allocations: 3.938 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1271, allocations: 4.031 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1274, allocations: 204.4 kB / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.1274, allocations: 85.02 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1274, allocations: 3.938 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.1275, allocations: 4.375 kB / 477.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1276, allocations: 19.91 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1276, allocations: 12 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.97e-05/0.1277, allocations: 115.2 kB / 477.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1277, allocations: 0 / 477.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.128, allocations: 31.98 kB / 477.9 MB, free: 6.117 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.001093/0.1291, allocations: 491.9 kB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1293, allocations: 63.91 kB / 478.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1293, allocations: 0 / 478.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.1294, allocations: 28.06 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1297, allocations: 27.97 kB / 478.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.1301, allocations: 202.7 kB / 478.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1304, allocations: 0.6934 MB / 479.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.1304, allocations: 25.23 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.1305, allocations: 15.44 kB / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1305, allocations: 0 / 479.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Templates: time 0.004909/0.1354, allocations: 1.964 MB / 481.4 MB, free: 2.773 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches