Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.9 kB / 17.09 MB, free: 6.008 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.001172/0.001172, allocations: 194.2 kB / 18.02 MB, free: 5.086 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.326/1.326, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1939/0.1939, allocations: 43.52 MB / 314.8 MB, free: 460 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.001439/0.001439, allocations: 79.83 kB / 442.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09153, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002972/0.09454, allocations: 1.682 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.09583, allocations: 0.8015 MB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.09593, allocations: 3.938 kB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.09622, allocations: 39.83 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.09648, allocations: 59.69 kB / 0.4912 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.09676, allocations: 87.7 kB / 0.4912 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.09694, allocations: 99.69 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.09705, allocations: 16.2 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.09715, allocations: 43.78 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.09724, allocations: 27.86 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.09726, allocations: 4 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.09738, allocations: 39.97 kB / 0.4915 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.09744, allocations: 23.88 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.0975, allocations: 27.8 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.09771, allocations: 111.5 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.09772, allocations: 11.98 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09773, allocations: 0 / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.09774, allocations: 0 / 0.4916 GB, free: 8.641 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.0005065/0.09826, allocations: 398.9 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.0983, allocations: 11.89 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.09836, allocations: 12.83 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.09866, allocations: 216.7 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.09868, allocations: 7.922 kB / 0.4922 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.09871, allocations: 4 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.09888, allocations: 57.67 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.0989, allocations: 0 / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.09892, allocations: 0 / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.09893, allocations: 0 / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.658e-05/0.09903, allocations: 19.98 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.09945, allocations: 280.9 kB / 0.4926 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.09964, allocations: 62.61 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.0997, allocations: 20.86 kB / 0.4927 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.09973, allocations: 0 / 0.4927 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.09988, allocations: 67.38 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.09989, allocations: 0 / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000537/0.1004, allocations: 169.4 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1005, allocations: 55.41 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1006, allocations: 162.4 kB / 0.4931 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1007, allocations: 25.7 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.1007, allocations: 100.1 kB / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.1008, allocations: 31.77 kB / 0.4933 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1008, allocations: 21.72 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1009, allocations: 322.8 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/0.101, allocations: 28.3 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.1011, allocations: 37.66 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1012, allocations: 53.7 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1012, allocations: 4 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.1014, allocations: 109.5 kB / 0.4938 GB, free: 6.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1014, allocations: 4 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1014, allocations: 4.031 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1015, allocations: 3.938 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.1016, allocations: 16 kB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1016, allocations: 0 / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.1016, allocations: 3.984 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1016, allocations: 15.88 kB / 0.4938 GB, free: 6.121 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.635e-05/0.1018, allocations: 121.8 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1018, allocations: 7.953 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.1018, allocations: 16.7 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1018, allocations: 7.938 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1018, allocations: 0 / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1019, allocations: 85.06 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1019, allocations: 0 / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.102, allocations: 11.98 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.102, allocations: 0 / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002282/0.1023, allocations: 168.9 kB / 0.4942 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002622/0.1025, allocations: 286.6 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.634e-05/0.1026, allocations: 27.98 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.1027, allocations: 127.9 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1027, allocations: 0 / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.1041, allocations: 490.5 kB / 0.4951 GB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006093/0.1047, allocations: 0.6547 MB / 0.4958 GB, free: 4.082 MB / 382.1 MB Notification: Performance of Templates: time 0.004618/0.1093, allocations: 1.747 MB / 0.4975 GB, free: 2.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches