Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 111.3 kB / 17.09 MB, free: 5.984 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.001328/0.001328, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.345/1.345, 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.2054/0.2054, allocations: 43.52 MB / 314.8 MB, free: 476 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.00134/0.00134, allocations: 73.45 kB / 442.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09669, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002834/0.09956, allocations: 1.702 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1009, allocations: 0.7975 MB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.101, allocations: 3.938 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1013, allocations: 47.81 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1015, allocations: 59.7 kB / 0.4912 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1018, allocations: 87.75 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1019, allocations: 95.7 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.102, allocations: 8.219 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.1021, allocations: 51.77 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.1022, allocations: 23.86 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1022, allocations: 4 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1023, allocations: 43.98 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.1024, allocations: 31.84 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1025, allocations: 35.73 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1027, allocations: 107.7 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1027, allocations: 4 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1027, allocations: 0 / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1027, allocations: 0 / 0.4916 GB, free: 8.629 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.0004977/0.1032, allocations: 418.9 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1032, allocations: 11.89 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1033, allocations: 16.83 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1036, allocations: 212.6 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1036, allocations: 4.375 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1036, allocations: 8.125 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1037, allocations: 53.67 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1038, allocations: 3.984 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1038, allocations: 8 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1038, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.1039, allocations: 19.98 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1042, allocations: 280.9 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1044, allocations: 62.61 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.1044, allocations: 24.84 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1045, allocations: 0 / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1046, allocations: 67.39 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1046, allocations: 0 / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004968/0.1051, allocations: 173.1 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1052, allocations: 51.41 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1054, allocations: 199.3 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1054, allocations: 29.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.1055, allocations: 104 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1055, allocations: 23.69 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1055, allocations: 33.64 kB / 0.4934 GB, free: 6.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1057, allocations: 326.8 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.1057, allocations: 27.92 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.1058, allocations: 34.08 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1059, allocations: 57.7 kB / 0.4938 GB, free: 6.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1059, allocations: 0 / 0.4938 GB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1061, allocations: 113.4 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1061, allocations: 4 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1061, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1062, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.1062, allocations: 12 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1063, allocations: 32 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1063, allocations: 11.98 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1063, allocations: 7.875 kB / 0.4939 GB, free: 6.039 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 8.681e-05/0.1064, allocations: 129.8 kB / 0.4941 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.1065, allocations: 11.89 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.1065, allocations: 17.41 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1065, allocations: 0 / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1065, allocations: 0 / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.1066, allocations: 88.92 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1066, allocations: 15.92 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1066, allocations: 0 / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.1067, allocations: 4 kB / 0.4942 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002077/0.1069, allocations: 176.9 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002352/0.1071, allocations: 278.8 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.132e-05/0.1072, allocations: 23.98 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1073, allocations: 160.9 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of Backend: time 4.71e-07/0.1073, allocations: 0 / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.1087, allocations: 494.2 kB / 0.4953 GB, free: 4.652 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006432/0.1093, allocations: 0.6783 MB / 0.4959 GB, free: 3.93 MB / 382.1 MB Notification: Performance of Templates: time 0.004503/0.1138, allocations: 1.774 MB / 0.4977 GB, free: 2.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches