Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 114.8 kB / 17.08 MB, free: 5.832 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.001169/0.001169, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.281/1.281, 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.2025/0.2025, allocations: 43.52 MB / 314.8 MB, free: 472 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.001589/0.001589, allocations: 71.84 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09604, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003133/0.09922, allocations: 1.779 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1014, allocations: 1.48 MB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.1015, allocations: 0 / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1019, allocations: 59.69 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1022, allocations: 91.53 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1026, allocations: 139.7 kB / 0.4921 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1029, allocations: 179.4 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.1029, allocations: 25.47 kB / 0.4923 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1031, allocations: 79.58 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1033, allocations: 75.67 kB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1033, allocations: 8 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1035, allocations: 67.91 kB / 0.4925 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.1036, allocations: 27.91 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.1036, allocations: 55.61 kB / 0.4926 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1039, allocations: 171.5 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1039, allocations: 0 / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1039, allocations: 3.938 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1039, allocations: 4 kB / 0.4927 GB, free: 7.492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005913/0.1045, allocations: 462.6 kB / 0.4932 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1046, allocations: 15.89 kB / 0.4932 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.1046, allocations: 16.75 kB / 0.4932 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.105, allocations: 243.6 kB / 0.4934 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.105, allocations: 4.375 kB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.105, allocations: 8.109 kB / 0.4934 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1052, allocations: 105 kB / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1053, allocations: 0 / 0.4935 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1053, allocations: 4 kB / 0.4935 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1053, allocations: 7.984 kB / 0.4936 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1054, allocations: 27.92 kB / 0.4936 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.1057, allocations: 210.6 kB / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.1059, allocations: 105.2 kB / 0.4939 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.106, allocations: 45.62 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1061, allocations: 7.938 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1063, allocations: 109 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1063, allocations: 0 / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004339/0.1067, allocations: 165.4 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.1068, allocations: 128.5 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.107, allocations: 215.8 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1071, allocations: 33.69 kB / 0.4946 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1071, allocations: 112.1 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1072, allocations: 27.64 kB / 0.4947 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.1072, allocations: 29.7 kB / 0.4947 GB, free: 5.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.1073, allocations: 330.8 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1074, allocations: 36.42 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1075, allocations: 73.12 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1077, allocations: 91.36 kB / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1077, allocations: 0 / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002642/0.108, allocations: 141.4 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.108, allocations: 4 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.108, allocations: 4 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.108, allocations: 3.984 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1082, allocations: 23.92 kB / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1082, allocations: 4 kB / 0.4954 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.1083, allocations: 11.91 kB / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1083, allocations: 4 kB / 0.4954 GB, free: 4.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001098/0.1084, allocations: 137.8 kB / 0.4955 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1084, allocations: 15.81 kB / 0.4956 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1085, allocations: 16.98 kB / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1085, allocations: 4 kB / 0.4956 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1085, allocations: 0 / 0.4956 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1085, allocations: 0 / 0.4956 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1087, allocations: 217.5 kB / 0.4958 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1087, allocations: 0 / 0.4958 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.1087, allocations: 11.94 kB / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1088, allocations: 0 / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1088, allocations: 20.11 kB / 0.4958 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1088, allocations: 3.938 kB / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1088, allocations: 0 / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.1091, allocations: 165.6 kB / 0.496 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1092, allocations: 88.92 kB / 0.4961 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.1092, allocations: 11.98 kB / 0.4961 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.1093, allocations: 8 kB / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1093, allocations: 7.984 kB / 0.4961 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1094, allocations: 8 kB / 0.4961 GB, free: 3.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1095, allocations: 165.5 kB / 0.4963 GB, free: 3.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1095, allocations: 0 / 0.4963 GB, free: 3.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1098, allocations: 32 kB / 0.4963 GB, free: 3.43 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009848/0.1108, allocations: 463.8 kB / 0.4967 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.111, allocations: 79.84 kB / 0.4968 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1111, allocations: 3.938 kB / 0.4968 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1112, allocations: 39.98 kB / 0.4968 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1115, allocations: 59.12 kB / 0.4969 GB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.112, allocations: 297.6 kB / 0.4972 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1123, allocations: 0.7124 MB / 0.4979 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.1124, allocations: 27.42 kB / 0.4979 GB, free: 1.746 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1124, allocations: 0 / 0.4979 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Templates: time 0.004909/0.1173, allocations: 2.734 MB / 0.5006 GB, free: 15.02 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches