Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 114 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.001119/0.001119, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1964/0.1964, allocations: 43.54 MB / 314.8 MB, free: 440 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.002396/0.002396, allocations: 73.41 kB / 442.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1226, allocations: 57.8 MB / 0.4886 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003545/0.1262, allocations: 1.683 MB / 0.4903 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1275, allocations: 0.8053 MB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1277, allocations: 7.938 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.128, allocations: 27.84 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1282, allocations: 67.67 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1285, allocations: 79.78 kB / 0.4912 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1287, allocations: 103.7 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.1288, allocations: 16.22 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.1289, allocations: 43.78 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.129, allocations: 31.84 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.129, allocations: 0 / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1291, allocations: 39.98 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.1292, allocations: 27.86 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.1293, allocations: 31.75 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1295, allocations: 115.5 kB / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1295, allocations: 0 / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1295, allocations: 4 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1295, allocations: 0 / 0.4916 GB, free: 8.59 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.0005196/0.13, allocations: 410.8 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1301, allocations: 15.89 kB / 0.492 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.1301, allocations: 12.84 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1304, allocations: 220 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1305, allocations: 384 / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1305, allocations: 8.062 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1306, allocations: 61.67 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1307, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1307, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1307, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.1308, allocations: 19.98 kB / 0.4923 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1312, allocations: 280.9 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1313, allocations: 66.61 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1314, allocations: 16.86 kB / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1314, allocations: 0 / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.1316, allocations: 71.34 kB / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.1316, allocations: 0 / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.1322, allocations: 173.7 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1322, allocations: 55.41 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1324, allocations: 186.2 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1324, allocations: 25.7 kB / 0.4932 GB, free: 6.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1325, allocations: 104.1 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1325, allocations: 23.8 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1326, allocations: 25.7 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1327, allocations: 326.7 kB / 0.4936 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.1328, allocations: 28 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.1329, allocations: 41.7 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.133, allocations: 57.77 kB / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.133, allocations: 0 / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1332, allocations: 105.5 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1332, allocations: 7.984 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1332, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1332, allocations: 4.031 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.1333, allocations: 16 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1333, allocations: 0 / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.1334, allocations: 3.938 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1334, allocations: 15.92 kB / 0.4939 GB, free: 6.02 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 9.82e-05/0.1335, allocations: 121.8 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1336, allocations: 11.95 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.1336, allocations: 16.7 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.1336, allocations: 3.984 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1336, allocations: 7.938 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.1337, allocations: 89.02 kB / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1337, allocations: 7.938 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.1337, allocations: 3.984 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1338, allocations: 4 kB / 0.4942 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002288/0.134, allocations: 176.9 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002607/0.1343, allocations: 282.7 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.46e-05/0.1344, allocations: 23.98 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1345, allocations: 148 kB / 0.4948 GB, free: 5.086 MB / 382.1 MB Notification: Performance of Backend: time 4.01e-07/0.1345, allocations: 0 / 0.4948 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.1359, allocations: 490 kB / 0.4952 GB, free: 4.652 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006569/0.1366, allocations: 0.6627 MB / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of Templates: time 0.004584/0.1412, allocations: 1.751 MB / 0.4976 GB, free: 2.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches