Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 113.4 kB / 17.08 MB, free: 5.789 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.001271/0.001271, allocations: 197.2 kB / 18.02 MB, free: 4.918 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.562/1.562, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.207/0.207, allocations: 43.53 MB / 314.8 MB, free: 452 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.001371/0.001371, allocations: 73.45 kB / 442.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1206, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003164/0.1238, allocations: 1.697 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1252, allocations: 0.8039 MB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1254, allocations: 0 / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1257, allocations: 47.81 kB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.126, allocations: 63.69 kB / 0.4912 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1263, allocations: 91.7 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1265, allocations: 99.69 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1267, allocations: 8.219 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1268, allocations: 43.78 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.1269, allocations: 31.84 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.127, allocations: 7.938 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1271, allocations: 47.92 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.1271, allocations: 23.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.1272, allocations: 43.67 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1275, allocations: 115.7 kB / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.594 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.0006332/0.1281, allocations: 434.7 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1282, allocations: 11.89 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.1283, allocations: 12.84 kB / 0.4921 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1286, allocations: 219.9 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1286, allocations: 4.375 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1286, allocations: 8.125 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1288, allocations: 53.67 kB / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1288, allocations: 0 / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1288, allocations: 0 / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1288, allocations: 0 / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1289, allocations: 23.97 kB / 0.4924 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1293, allocations: 292.8 kB / 0.4927 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1295, allocations: 58.67 kB / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1295, allocations: 20.86 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1296, allocations: 0 / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1298, allocations: 79.31 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1298, allocations: 0 / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005542/0.1303, allocations: 169.2 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.1304, allocations: 55.34 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1307, allocations: 226.7 kB / 0.4932 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1307, allocations: 25.7 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1308, allocations: 108.1 kB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1308, allocations: 23.7 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1309, allocations: 29.72 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.131, allocations: 326.8 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1311, allocations: 23.98 kB / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.1312, allocations: 33.7 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1313, allocations: 69.69 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1313, allocations: 8.125 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.1315, allocations: 97.5 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1316, allocations: 11.94 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1316, allocations: 0 / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1316, allocations: 0 / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.1317, allocations: 19.92 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1317, allocations: 4 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1318, allocations: 3.938 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1318, allocations: 4 kB / 0.494 GB, free: 5.945 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.0001288/0.1319, allocations: 137.8 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1319, allocations: 7.906 kB / 0.4941 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.132, allocations: 21.39 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.132, allocations: 0 / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.132, allocations: 0 / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.132, allocations: 3.938 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.1326, allocations: 403.2 kB / 0.4945 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1326, allocations: 0 / 0.4945 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1326, allocations: 16.02 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1326, allocations: 0 / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1326, allocations: 3.938 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.1326, allocations: 4.375 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1327, allocations: 3.938 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.133, allocations: 196.3 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.133, allocations: 96.92 kB / 0.4948 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1331, allocations: 3.938 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1331, allocations: 7.984 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1332, allocations: 4 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1332, allocations: 4 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1334, allocations: 171.2 kB / 0.495 GB, free: 4.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1334, allocations: 0 / 0.495 GB, free: 4.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1337, allocations: 20 kB / 0.495 GB, free: 4.75 MB / 382.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.001245/0.1349, allocations: 475.2 kB / 0.4955 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1351, allocations: 59.97 kB / 0.4956 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1352, allocations: 0 / 0.4956 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.1352, allocations: 35.97 kB / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1356, allocations: 38.97 kB / 0.4956 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1361, allocations: 284.6 kB / 0.4959 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1365, allocations: 0.7041 MB / 0.4966 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.1365, allocations: 23.42 kB / 0.4966 GB, free: 3.129 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1365, allocations: 4.062 kB / 0.4966 GB, free: 3.125 MB / 382.1 MB Notification: Performance of Templates: time 0.004411/0.1409, allocations: 1.974 MB / 0.4985 GB, free: 1.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches