Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001601, allocations: 111.8 kB / 17.09 MB, free: 5.957 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.001475/0.001474, allocations: 199.4 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2337/0.2337, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 81.44 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1187, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003327/0.122, allocations: 1.694 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1235, allocations: 0.8014 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.1236, allocations: 4 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.1239, allocations: 39.77 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1242, allocations: 55.75 kB / 0.4912 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1245, allocations: 91.7 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1247, allocations: 103.7 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1249, allocations: 8.219 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.125, allocations: 47.77 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.1251, allocations: 27.86 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1251, allocations: 4 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1252, allocations: 39.98 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1253, allocations: 27.91 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.1254, allocations: 35.69 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1256, allocations: 115.7 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1256, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1256, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1257, allocations: 4 kB / 0.4916 GB, free: 8.602 MB / 382.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.0006117/0.1263, allocations: 406.9 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1263, allocations: 11.89 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.1264, allocations: 8.844 kB / 0.492 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1267, allocations: 212 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1267, allocations: 8.312 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1267, allocations: 8.125 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1269, allocations: 57.61 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1269, allocations: 3.984 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.127, allocations: 0 / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.127, allocations: 0 / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.1271, allocations: 19.98 kB / 0.4923 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.1274, allocations: 288.9 kB / 0.4926 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1276, allocations: 62.61 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1277, allocations: 16.86 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1277, allocations: 4 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1279, allocations: 67.3 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.516e-06/0.1279, allocations: 4 kB / 0.4928 GB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005497/0.1285, allocations: 177.2 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1285, allocations: 51.41 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1287, allocations: 186.1 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1287, allocations: 33.64 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.1288, allocations: 100.1 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.1288, allocations: 23.66 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1289, allocations: 25.7 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.129, allocations: 334.8 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.1291, allocations: 16 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.1291, allocations: 37.64 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1293, allocations: 65.75 kB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1293, allocations: 0 / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001803/0.1294, allocations: 97.53 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1295, allocations: 12.02 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1295, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1295, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1296, allocations: 12 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1296, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.1297, allocations: 8 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1297, allocations: 7.922 kB / 0.4939 GB, free: 6.043 MB / 382.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.000111/0.1298, allocations: 129.7 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1298, allocations: 15.81 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1299, allocations: 20.7 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1299, allocations: 3.938 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1299, allocations: 0 / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.1299, allocations: 85.02 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.13, allocations: 3.938 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.13, allocations: 7.984 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1301, allocations: 4 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002138/0.1303, allocations: 172.9 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002508/0.1306, allocations: 278.6 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.548e-05/0.1306, allocations: 27.98 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1308, allocations: 144 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of Backend: time 2.8e-07/0.1308, allocations: 0 / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.1321, allocations: 486.9 kB / 0.4952 GB, free: 4.684 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006522/0.1328, allocations: 0.6661 MB / 0.4959 GB, free: 3.973 MB / 382.1 MB Notification: Performance of Templates: time 0.004456/0.1373, allocations: 1.751 MB / 0.4976 GB, free: 2.227 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches